diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 05:24:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 09:38:11 +0300 |
commit | b34eded93076f651222b86f1e4e096754baa5ba9 (patch) | |
tree | 854a06e2f33cedd40b0171c1ab218cdcdddd761d /source | |
parent | 9ff4012711f55f7f24fa9d344c17a326ebc24673 (diff) |
Cleanup: remove redundant code
Fix for T62504 missed removing return call.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_depsgraph.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c index a95222d628a..cbb642577e1 100644 --- a/source/blender/makesrna/intern/rna_depsgraph.c +++ b/source/blender/makesrna/intern/rna_depsgraph.c @@ -482,7 +482,6 @@ static PointerRNA rna_Depsgraph_scene_eval_get(PointerRNA *ptr) { Depsgraph *depsgraph = (Depsgraph *)ptr->data; Scene *scene_eval = DEG_get_evaluated_scene(depsgraph); - return rna_pointer_inherit_refine(ptr, &RNA_Scene, scene_eval); PointerRNA newptr; RNA_pointer_create(&scene_eval->id, &RNA_Scene, scene_eval, &newptr); return newptr; |