Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-08-22 17:51:15 +0400
committerBrecht Van Lommel <brecht@solidangle.com>2014-08-22 19:12:35 +0400
commit4ba0f441512f39455f3cd7201207f7467b948297 (patch)
treee782ec0ba672cbede9084f6ba9f06482d287a044 /source
parent7c052a88771cf826681f5cfee7cc4e2260427784 (diff)
Fix missing tag for detecting changes with bpy.data.node_groups[...].is_updated.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_node/node_draw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c
index 1d27ecb30b7..a87d9854e6c 100644
--- a/source/blender/editors/space_node/node_draw.c
+++ b/source/blender/editors/space_node/node_draw.c
@@ -138,6 +138,10 @@ void ED_node_tag_update_id(ID *id)
DAG_id_tag_update(id, 0);
WM_main_add_notifier(NC_TEXTURE | ND_NODES, id);
}
+ else if(id == &ntree->id) {
+ /* node groups */
+ DAG_id_tag_update(id, 0);
+ }
}
void ED_node_tag_update_nodetree(Main *bmain, bNodeTree *ntree)