Depsgraph: placeholder function for COW objects query
This commit is contained in:
@@ -44,6 +44,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
struct Depsgraph;
|
||||||
struct ID;
|
struct ID;
|
||||||
struct Main;
|
struct Main;
|
||||||
struct Object;
|
struct Object;
|
||||||
@@ -174,6 +175,10 @@ const char *DAG_get_node_name(struct Scene *scene, void *node_v);
|
|||||||
short DAG_get_eval_flags_for_object(struct Scene *scene, void *object);
|
short DAG_get_eval_flags_for_object(struct Scene *scene, void *object);
|
||||||
bool DAG_is_acyclic(struct Scene *scene);
|
bool DAG_is_acyclic(struct Scene *scene);
|
||||||
|
|
||||||
|
/* ************************ DAG ********************* */
|
||||||
|
|
||||||
|
struct Object *DAG_get_object(struct Depsgraph *depsgraph, struct Object *ob);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -228,6 +228,18 @@ bool DAG_is_acyclic(Scene *UNUSED(scene))
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ************************ DAG ********************* */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the object as properly evaluated by depsgraph.
|
||||||
|
*/
|
||||||
|
Object *DAG_get_object(Depsgraph *depsgraph, Object *ob)
|
||||||
|
{
|
||||||
|
/* XXX TODO */
|
||||||
|
UNUSED_VARS(depsgraph);
|
||||||
|
return ob;
|
||||||
|
}
|
||||||
|
|
||||||
/* ************************************
|
/* ************************************
|
||||||
* This functions are to be supported *
|
* This functions are to be supported *
|
||||||
* ************************************
|
* ************************************
|
||||||
|
Reference in New Issue
Block a user