T55479: Tag for update when active texture changes
[blender.git] / source / blender / editors / space_node / node_edit.c
index 8322e86d0273e259be743b30716309397029e431..ff87dcf409ad2db21181a8d1d0ef30edfe0064f0 100644 (file)
@@ -656,6 +656,7 @@ void ED_node_set_active(Main *bmain, bNodeTree *ntree, bNode *node)
                                        if (wo->nodetree && wo->use_nodes && ntreeHasTree(wo->nodetree, ntree))
                                                GPU_material_free(&wo->gpumaterial);
 
+                               ED_node_tag_update_nodetree(bmain, ntree, node);
                                WM_main_add_notifier(NC_IMAGE, NULL);
                        }