diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-11-25 17:56:02 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-11-25 17:56:02 +0300 |
commit | 2d0a1f4de218105d64680922aef1f247eda358b3 (patch) | |
tree | dadb84e2302240afaf30fc24e65493e81178afd6 /source/blender/editors | |
parent | 56f8ced34f8378a51adee521ff554560d05c3a11 (diff) |
Redraw 3d view when new object was added (NC_OBJECT|NA_ADDED notifier)
This fixes one issue from #24914: 3D text glitch and crash ("delayed" 3d view refresh)
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index 612f2b4af48..aeac6563e1c 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -620,6 +620,11 @@ static void view3d_main_area_listener(ARegion *ar, wmNotifier *wmn) ED_region_tag_redraw(ar); break; } + switch(wmn->action) { + case NA_ADDED: + ED_region_tag_redraw(ar); + break; + } break; case NC_GEOM: switch(wmn->data) { |