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/editors/uvedit/uvedit_draw.c | |
parent | 5fe2423ed5e8224bfec7aae2a7ea95f7ee97091a (diff) |
Depsgraph: Make it more explicit in naming what version of data getetrs returns
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_draw.c')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c index f8c0e24c061..f6a86c64c1b 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -655,7 +655,7 @@ static void draw_uvs(SpaceImage *sima, Scene *scene, SceneLayer *sl, Object *obe /* 1. draw shadow mesh */ if (sima->flag & SI_DRAWSHADOW) { - Object *ob_cage = DEG_get_object(depsgraph, obedit); + Object *ob_cage = DEG_get_evaluated_object(depsgraph, obedit); /* XXX TODO: Need to check if shadow mesh is different than original mesh. */ bool is_cage_like_final_meshes = (ob_cage == obedit); |