Depsgraph: placeholder function for COW objects query
This commit is contained in:
parent
1baa236acb
commit
0e95270eb7
|
@ -44,6 +44,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct Depsgraph;
|
||||
struct ID;
|
||||
struct Main;
|
||||
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);
|
||||
bool DAG_is_acyclic(struct Scene *scene);
|
||||
|
||||
/* ************************ DAG ********************* */
|
||||
|
||||
struct Object *DAG_get_object(struct Depsgraph *depsgraph, struct Object *ob);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -228,6 +228,18 @@ bool DAG_is_acyclic(Scene *UNUSED(scene))
|
|||
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 *
|
||||
* ************************************
|
||||
|
|
Loading…
Reference in New Issue