diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-01-27 14:56:14 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-01-27 14:56:14 +0300 |
commit | 22f01f4761bb3918ff0bc8162944493a2ac18016 (patch) | |
tree | d777a61318f98756ec5cc526d6de6a3e914d001f /source/blender/editors/space_view3d/space_view3d.c | |
parent | f84f96aee58bfbf014cedc68bf9de81dc0edc0ff (diff) |
Bugfix #20845: Grease Pencil settings lack view refresh
Added updates to Grease Pencil RNA data, and added appropriate listeners to 3D-View and Nodes Editors that were previously missing too.
Diffstat (limited to 'source/blender/editors/space_view3d/space_view3d.c')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index 8f28cf11aac..999673f2ce4 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -598,6 +598,10 @@ static void view3d_main_area_listener(ARegion *ar, wmNotifier *wmn) if(wmn->action == NA_RENAME) ED_region_tag_redraw(ar); break; + case NC_SCREEN: + if(wmn->data == ND_GPENCIL) + ED_region_tag_redraw(ar); + break; } } |