Depsgraph: placeholder function for COW objects query

This commit is contained in:
Dalai Felinto 2017-04-04 13:08:33 +02:00
parent 1baa236acb
commit 0e95270eb7
2 changed files with 17 additions and 0 deletions

View File

@ -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

View File

@ -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 *
* ************************************