[Bf-blender-cvs] [90d80ddaa28] blender2.8: Fix new Scene ID copying code.

Bastien Montagne noreply at git.blender.org
Tue Aug 15 15:27:14 CEST 2017


Commit: 90d80ddaa28908048e428fd08c4c771c015a0d66
Author: Bastien Montagne
Date:   Tue Aug 15 15:26:22 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB90d80ddaa28908048e428fd08c4c771c015a0d66

Fix new Scene ID copying code.

Missed depsgraph_legacy new pointer to nullify when merged/adapted new
ID copying code to blender2.8.

===================================================================

M	source/blender/blenkernel/intern/scene.c

===================================================================

diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index f71191a2211..807c672d234 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -228,6 +228,7 @@ void BKE_scene_copy_data(Main *bmain, Scene *sce_dst, const Scene *sce_src, cons
 
 	sce_dst->ed = NULL;
 	sce_dst->theDag = NULL;
+	sce_dst->depsgraph_legacy = NULL;
 	sce_dst->obedit = NULL;
 	sce_dst->fps_info = NULL;




More information about the Bf-blender-cvs mailing list