Commit: 81b971b154dc0b1fc00c13e72a08771aaffbd998 Author: Joshua Leung Date: Fri Jul 27 16:44:38 2018 +1200 Branches: greasepencil-object https://developer.blender.org/rB81b971b154dc0b1fc00c13e72a08771aaffbd998
Fix: Refresh issues in Topbar with Grease Pencil and Annotations =================================================================== M source/blender/editors/space_topbar/space_topbar.c =================================================================== diff --git a/source/blender/editors/space_topbar/space_topbar.c b/source/blender/editors/space_topbar/space_topbar.c index e45159124e8..6113922c02e 100644 --- a/source/blender/editors/space_topbar/space_topbar.c +++ b/source/blender/editors/space_topbar/space_topbar.c @@ -168,6 +168,10 @@ static void topbar_main_region_listener(wmWindow *UNUSED(win), ScrArea *UNUSED(s if (wmn->data == ND_SPACE_VIEW3D) ED_region_tag_redraw(ar); break; + case NC_GPENCIL: + if (wmn->data == ND_DATA) + ED_region_tag_redraw(ar); + break; } } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs