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)
This commit is contained in:
Sergey Sharybin
2010-11-25 14:56:02 +00:00
parent 56f8ced34f
commit 2d0a1f4de2

View File

@@ -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) {