[Bf-blender-cvs] [955a48384ab] greasepencil-object: UI: Small tweaks
Antonio Vazquez
noreply at git.blender.org
Sat Jul 7 10:04:48 CEST 2018
Commit: 955a48384ab8a4e3d1c0c36e4cc11aed9672400c
Author: Antonio Vazquez
Date: Sat Jul 7 10:04:41 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB955a48384ab8a4e3d1c0c36e4cc11aed9672400c
UI: Small tweaks
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 8033cd12e1a..74ec1eeedfe 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4332,6 +4332,7 @@ class VIEW3D_PT_overlay_gpencil_options(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'HEADER'
bl_parent_id = 'VIEW3D_PT_overlay'
+ bl_options = {'HIDE_HEADER'}
bl_label = ""
@classmethod
@@ -4341,13 +4342,11 @@ class VIEW3D_PT_overlay_gpencil_options(Panel):
def draw(self, context):
layout = self.layout
gpd = context.gpencil_data
- tool_settings = context.tool_settings
- col = layout.column()
- col.prop(gpd, "use_onion_skinning", text="Onion Skin")
+ layout.prop(gpd, "use_onion_skinning", text="Onion Skin")
if context.object.mode in {'GPENCIL_EDIT', 'GPENCIL_SCULPT', 'GPENCIL_WEIGHT'}:
- col.prop(gpd, "show_edit_lines", text="Show Edit Lines")
+ layout.prop(gpd, "show_edit_lines", text="Show Edit Lines")
class VIEW3D_PT_overlay_gpencil_paper(Panel):
More information about the Bf-blender-cvs
mailing list