diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index 3575331eac8..9b0cdad5551 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -289,12 +289,18 @@ class GreasePencilDataPanel(): col.label(text="Fill:") col.prop(gpl, "fill_color", text="") col.prop(gpl, "fill_alpha", text="Opacity", slider=True) - + # Options - row = layout.row() - row.prop(gpl, "line_width", slider=True) - row.prop(gpl, "show_x_ray") - + split = layout.split(percentage=0.5) + split.active = not gpl.lock + + col = split.column(align=True) + col.prop(gpl, "line_width", slider=True) + col.prop(gpl, "use_volumetric_strokes") + + col = split.column(align=True) + col.prop(gpl, "show_x_ray") + #if debug: # layout.prop(gpl, "show_points") |