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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-13 13:31:37 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-13 13:31:37 +0400
commit0cabb2fa6aa2f7dddeab3f7f85d25af9a7752e30 (patch)
tree5351a212bd9a315c9b5bf69f2c59ad6ee6100dfb
parent1add07821b738c1efcb1d49c1c7f76b2594f7a42 (diff)
Fix related to #30928: missing image editor update when changing active image
texture node.
-rw-r--r--source/blender/editors/space_node/node_edit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index cf2b3730462..f73a89702af 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -634,6 +634,8 @@ void ED_node_set_active(Main *bmain, bNodeTree *ntree, bNode *node)
for (ma=bmain->mat.first; ma; ma=ma->id.next)
if (ma->nodetree && ma->use_nodes && has_nodetree(ma->nodetree, ntree))
GPU_material_free(ma);
+
+ WM_main_add_notifier(NC_IMAGE, NULL);
}
WM_main_add_notifier(NC_MATERIAL|ND_NODES, node->id);