[Bf-blender-cvs] [e00ec7f] depsgraph_refactor: Depsgraph: Fix wrong scene rebuild with legacy depsgraph

Sergey Sharybin noreply at git.blender.org
Thu Apr 30 17:44:29 CEST 2015


Commit: e00ec7f17404243810c96ad35e23707111b651b0
Author: Sergey Sharybin
Date:   Thu Apr 30 20:42:09 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rBe00ec7f17404243810c96ad35e23707111b651b0

Depsgraph: Fix wrong scene rebuild with legacy depsgraph

Was lost by accident in some code simplification. Still need to fix similar
issue with the new depsgraph.

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

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

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

diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index 7378b69..54e42f2 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -1654,6 +1654,7 @@ void DAG_scene_relations_rebuild(Main *bmain, Scene *sce)
 {
 	if (DEG_depsgraph_use_legacy()) {
 		dag_scene_free(sce);
+		DAG_scene_relations_update(bmain, sce);
 	}
 	else {
 		/* New dependency graph. */




More information about the Bf-blender-cvs mailing list