[Bf-blender-cvs] [b1196076916] greasepencil-object: UI: Changes in Viewport Display Panel
Antonio Vazquez
noreply at git.blender.org
Wed Jun 6 18:03:11 CEST 2018
Commit: b119607691674d93f42118b7fbd1b2a195d8bcfe
Author: Antonio Vazquez
Date: Wed Jun 6 17:57:49 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rBb119607691674d93f42118b7fbd1b2a195d8bcfe
UI: Changes in Viewport Display Panel
===================================================================
M release/scripts/startup/bl_ui/properties_data_gpencil.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py
index 28f6963b123..ef1469dd950 100644
--- a/release/scripts/startup/bl_ui/properties_data_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py
@@ -232,36 +232,30 @@ class DATA_PT_gpencil_display(DataButtonsPanel, Panel):
def draw(self, context):
layout = self.layout
+ layout.use_property_split = True
ob = context.object
gpd = context.gpencil_data
gpl = context.active_gpencil_layer
-
layout.prop(gpd, "xray_mode", text="Depth Ordering")
+ layout.prop(gpd, "show_edit_lines", text="Show Edit Lines")
+ layout.prop(gpd, "edit_line_color", text="Edit Line Color")
layout.prop(ob, "empty_draw_size", text="Marker Size")
- layout.separator()
-
- if gpl:
- col = layout.column(align=True)
- col.prop(gpd, "show_stroke_direction", text="Show Stroke Directions")
-
- layout.separator()
-
col = layout.column(align=True)
col.prop(gpd, "show_constant_thickness")
sub = col.column()
sub.active = not gpd.show_constant_thickness
- sub.prop(gpd, "pixfactor", text="Scale")
-
- layout.separator()
+ sub.prop(gpd, "pixfactor", text="Thickness Scale")
col = layout.column()
- col.prop(gpd, "show_edit_lines", text="Show Edit Lines")
- col.prop(gpd, "edit_line_color", text="")
- col.prop(gpd, "show_multiedit_line_only", text="Only Lines in MultiEdit")
+ col.prop(gpd, "show_multiedit_line_only", text="Show Only Lines in Multiedit")
+
+ if gpl:
+ col = layout.column(align=True)
+ col.prop(gpd, "show_stroke_direction", text="Show Stroke Directions")
###############################
More information about the Bf-blender-cvs
mailing list