diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-24 15:39:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-24 15:39:28 +0300 |
commit | 2e190abf70c1ca099d7116df5ef7e586c2da9417 (patch) | |
tree | a56efb387e862c9e5e9434138be9143957b5c239 /source/blender/makesrna | |
parent | 800de8bffd1eeca045eb6211f39fba70505fef70 (diff) |
Fix T48496: Viewer function in NodeWrangler addon don't work in Material Shading mode
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 3221e93fe84..bf7e4634c2f 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -803,6 +803,7 @@ static bNodeLink *rna_NodeTree_link_new(bNodeTree *ntree, ReportList *reports, ntreeUpdateTree(G.main, ntree); + ED_node_tag_update_nodetree(G.main, ntree, ret->tonode); WM_main_add_notifier(NC_NODE | NA_EDITED, ntree); } return ret; |