From 78efff5f4251f1f4cf0ae3cd60d84ac5f78e332a Mon Sep 17 00:00:00 2001 From: Lukas Toenne Date: Wed, 16 Oct 2013 07:55:52 +0000 Subject: [PATCH] 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. --- .../blender/compositor/intern/COM_ExecutionSystemHelper.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp b/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp index 9516deee7e3..3f8c432a004 100644 --- a/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp +++ b/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp @@ -45,7 +45,10 @@ void ExecutionSystemHelper::addbNodeTree(ExecutionSystem &system, int nodes_star vector& nodes = system.getNodes(); vector& 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;