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:
-rw-r--r--source/blender/editors/space_node/node_edit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index 98f5939b367..7c1a867bd16 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -2072,6 +2072,8 @@ static int ntree_socket_add_exec(bContext *C, wmOperator *op)
sock->flag |= SELECT;
ntreeUpdateTree(ntree);
+
+ WM_event_add_notifier(C, NC_NODE | ND_DISPLAY, NULL);
return OPERATOR_FINISHED;
}
@@ -2115,6 +2117,8 @@ static int ntree_socket_remove_exec(bContext *C, wmOperator *UNUSED(op))
active_sock->flag |= SELECT;
ntreeUpdateTree(ntree);
+
+ WM_event_add_notifier(C, NC_NODE | ND_DISPLAY, NULL);
return OPERATOR_FINISHED;
}
@@ -2180,6 +2184,8 @@ static int ntree_socket_move_exec(bContext *C, wmOperator *op)
}
ntreeUpdateTree(ntree);
+
+ WM_event_add_notifier(C, NC_NODE | ND_DISPLAY, NULL);
return OPERATOR_FINISHED;
}