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:
Diffstat (limited to 'source/blender/editors/space_node/space_node.c')
-rw-r--r--source/blender/editors/space_node/space_node.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/space_node.c b/source/blender/editors/space_node/space_node.c
index 609fc43b435..baee08608ce 100644
--- a/source/blender/editors/space_node/space_node.c
+++ b/source/blender/editors/space_node/space_node.c
@@ -408,6 +408,14 @@ static void node_area_listener(wmWindow *UNUSED(win),
ED_area_tag_refresh(area);
}
}
+ else if (ED_node_is_geometry(snode)) {
+ /* Rather strict check: only redraw when the reference matches the current editor's ID. */
+ if (wmn->data == ND_MODIFIER) {
+ if (wmn->reference == snode->id || snode->id == NULL) {
+ ED_area_tag_refresh(area);
+ }
+ }
+ }
break;
case NC_SPACE:
if (wmn->data == ND_SPACE_NODE) {