GPencil UI: Show selection mask toggle in 3D view header to make it easier to access
authorJoshua Leung <aligorith@gmail.com>
Mon, 8 Feb 2016 11:51:07 +0000 (00:51 +1300)
committerJoshua Leung <aligorith@gmail.com>
Mon, 8 Feb 2016 13:45:33 +0000 (02:45 +1300)
release/scripts/startup/bl_ui/space_view3d.py

index 227f263a5fcbb9219bc6f6be3e8488dc6c1471b8..b5cd5fbcf5dc1a4c22371c96f3d208e9fa8228f8 100644 (file)
@@ -126,6 +126,10 @@ class VIEW3D_HT_header(Header):
 
             layout.prop(context.gpencil_data, "use_onion_skinning", text="Onion Skins", icon='PARTICLE_PATH') # XXX: icon
 
+            layout.prop(context.tool_settings.gpencil_sculpt, "use_select_mask")
+
+
+
 
 class VIEW3D_MT_editor_menus(Menu):
     bl_space_type = 'VIEW3D_MT_editor_menus'