[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60798] trunk/blender/source/blender/ compositor/intern/COM_ExecutionSystemHelper.cpp: Fix #37084, Backdrop not invalidating inside node groups.
Lukas Toenne
lukas.toenne at googlemail.com
Wed Oct 16 09:55:53 CEST 2013
Revision: 60798
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60798
Author: lukastoenne
Date: 2013-10-16 07:55:52 +0000 (Wed, 16 Oct 2013)
Log Message:
-----------
Fix #37084, Backdrop not invalidating inside node groups.
Extended the is_active_group flag such that both the current edittree as well as the base node tree in Scene do a viewer node update.
Modified Paths:
--------------
trunk/blender/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp
Modified: trunk/blender/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp
===================================================================
--- trunk/blender/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp 2013-10-16 05:29:28 UTC (rev 60797)
+++ trunk/blender/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp 2013-10-16 07:55:52 UTC (rev 60798)
@@ -45,7 +45,10 @@
vector<Node *>& nodes = system.getNodes();
vector<SocketConnection *>& links = system.getConnections();
- bool is_active_group = (parent_key.value == system.getContext().getbNodeTree()->active_viewer_key.value);
+ const bNodeTree *basetree = system.getContext().getbNodeTree();
+ /* update viewers in the active edittree as well the base tree (for backdrop) */
+ bool is_active_group = (parent_key.value == basetree->active_viewer_key.value
+ || tree == basetree);
/* add all nodes of the tree to the node list */
bNode *node = (bNode *)tree->nodes.first;
More information about the Bf-blender-cvs
mailing list