[Bf-blender-cvs] [44bb85b9191] greasepencil-object: UI: Reorder Grid parameters
Antonioya
noreply at git.blender.org
Sun Jul 29 12:25:05 CEST 2018
Commit: 44bb85b9191f8e15b7ff87016a54b681fcf874a8
Author: Antonioya
Date: Sun Jul 29 12:02:17 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB44bb85b9191f8e15b7ff87016a54b681fcf874a8
UI: Reorder Grid parameters
===================================================================
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 f468042719a..e8704014013 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4726,6 +4726,8 @@ class VIEW3D_PT_overlay_gpencil_options(Panel):
view = context.space_data
overlay = view.overlay
+ layout.prop(overlay, "use_gpencil_onion_skin", text="Onion Skin")
+
col = layout.column()
row = col.row()
row.prop(overlay, "use_gpencil_paper", text="")
@@ -4738,15 +4740,14 @@ class VIEW3D_PT_overlay_gpencil_options(Panel):
row.prop(overlay, "use_gpencil_grid", text="")
sub = row.row()
sub.active = overlay.use_gpencil_grid
- sub.prop(overlay, "gpencil_grid_opacity", text="Plane Grid")
+ sub.prop(overlay, "gpencil_grid_opacity", text="Canvas Grid")
if overlay.use_gpencil_grid:
- layout.prop(overlay, "gpencil_grid_scale")
- row = layout.row()
- row.prop(overlay, "gpencil_grid_lines")
- row.prop(overlay, "gpencil_grid_axis")
-
- layout.prop(overlay, "use_gpencil_onion_skin", text="Onion Skin")
+ row = layout.row(align=True)
+ row.prop(overlay, "gpencil_grid_scale")
+ col = row.column()
+ col.prop(overlay, "gpencil_grid_lines", text="Subdivisions")
+ col.prop(overlay, "gpencil_grid_axis")
if context.object.mode in {'GPENCIL_EDIT', 'GPENCIL_SCULPT', 'GPENCIL_WEIGHT'}:
layout.prop(overlay, "use_gpencil_edit_lines", text="Show Edit Lines")
More information about the Bf-blender-cvs
mailing list