[Bf-blender-cvs] [fad7494] depsgraph_refactor: Depsgraph: Fix missing rendered viewport update

Sergey Sharybin noreply at git.blender.org
Thu Jan 15 13:43:59 CET 2015


Commit: fad74945d88b77d7ba648868b1e4198798604f05
Author: Sergey Sharybin
Date:   Thu Jan 15 17:43:16 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rBfad74945d88b77d7ba648868b1e4198798604f05

Depsgraph: Fix missing rendered viewport update

Was only happening when blender is built with legacy depsgraph support.

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

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

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

diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index 798de3d..7708304 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -2708,6 +2708,11 @@ void DAG_ids_check_recalc(Main *bmain, Scene *scene, bool time)
 	int a;
 	bool updated = false;
 
+	if (!DEG_depsgraph_use_legacy()) {
+		DEG_ids_check_recalc(bmain, scene, time);
+		return;
+	}
+
 	/* loop over all ID types */
 	a  = set_listbasepointers(bmain, lbarray);




More information about the Bf-blender-cvs mailing list