Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-01-04 05:24:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-04 09:38:11 +0300
commitb34eded93076f651222b86f1e4e096754baa5ba9 (patch)
tree854a06e2f33cedd40b0171c1ab218cdcdddd761d /source/blender/makesrna/intern/rna_depsgraph.c
parent9ff4012711f55f7f24fa9d344c17a326ebc24673 (diff)
Cleanup: remove redundant code
Fix for T62504 missed removing return call.
Diffstat (limited to 'source/blender/makesrna/intern/rna_depsgraph.c')
-rw-r--r--source/blender/makesrna/intern/rna_depsgraph.c1
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;