diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-01-07 19:49:11 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-01-07 19:49:11 +0300 |
commit | 78e2c8115388c31af21231ee34139fd02fdd9ea0 (patch) | |
tree | dd0abc4e2e3b141f1f98a7675822b41189102c83 /source/blender/editors | |
parent | 637ffd1dfb4e6b3092ce935961cbe490b574af62 (diff) |
2.5
Add missing notifiers to node select, for proper redraw with multiple node windows.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_node/node_select.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_select.c b/source/blender/editors/space_node/node_select.c index cc8e03e0b44..bf028f374bd 100644 --- a/source/blender/editors/space_node/node_select.c +++ b/source/blender/editors/space_node/node_select.c @@ -99,7 +99,6 @@ static void node_mouse_select(SpaceNode *snode, ARegion *ar, short *mval, short ;// node_link_viewer(snode, node); //std_rmouse_transform(node_transform_ext); /* does undo push for select */ - ED_region_tag_redraw(ar); } } @@ -121,6 +120,9 @@ static int node_select_exec(bContext *C, wmOperator *op) node_mouse_select(snode, ar, mval, extend); break; } + + WM_event_add_notifier(C, NC_SCENE|ND_NODES, NULL); /* Do we need to pass the scene? */ + return OPERATOR_FINISHED; } @@ -227,6 +229,8 @@ static int node_borderselect_exec(bContext *C, wmOperator *op) } } + WM_event_add_notifier(C, NC_SCENE|ND_NODES, NULL); /* Do we need to pass the scene? */ + return OPERATOR_FINISHED; } |