diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-07-13 13:57:19 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-07-13 13:57:19 +0300 |
commit | ab05108acb20203bad415e69cdf239287e41af19 (patch) | |
tree | 98fd6d6c4d915583ecd8ad44242acc7150235568 /source/blender/depsgraph/DEG_depsgraph_query.h | |
parent | 5fe2423ed5e8224bfec7aae2a7ea95f7ee97091a (diff) |
Depsgraph: Make it more explicit in naming what version of data getetrs returns
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph_query.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph_query.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph_query.h b/source/blender/depsgraph/DEG_depsgraph_query.h index 674389ddd6c..04584c07d4b 100644 --- a/source/blender/depsgraph/DEG_depsgraph_query.h +++ b/source/blender/depsgraph/DEG_depsgraph_query.h @@ -56,13 +56,13 @@ bool DEG_id_type_tagged(struct Main *bmain, short idtype); short DEG_get_eval_flags_for_id(struct Depsgraph *graph, struct ID *id); /* Get scene the despgraph is created for. */ -struct Scene *DEG_get_scene(struct Depsgraph *graph); +struct Scene *DEG_get_evaluated_scene(struct Depsgraph *graph); /* Get scene layer the despgraph is created for. */ -struct SceneLayer *DEG_get_scene_layer(struct Depsgraph *graph); +struct SceneLayer *DEG_get_evaluated_scene_layer(struct Depsgraph *graph); -/* Get the object as properly evaluated by depsgraph. */ -struct Object *DEG_get_object(struct Depsgraph *depsgraph, struct Object *ob); +/* Get evaluated version of object for given original one. */ +struct Object *DEG_get_evaluated_object(struct Depsgraph *depsgraph, struct Object *object); /* Get evaluated version of given ID datablock. */ struct ID *DEG_get_evaluated_id(struct Depsgraph *depsgraph, struct ID *id); |