Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-10-03 23:42:45 +0300
committerAntonioya <blendergit@gmail.com>2018-10-03 23:42:45 +0300
commit222ea729818215835dbd3b0c9f962a9a601f0ad1 (patch)
treea06088e95175145147829e2aeac12d9a652d44ba /release
parent77def38eab8dd844044ae7ae6d652ad4ea6b9b83 (diff)
GP: Allow canvas grid with different scales in X/Y
Now it's possible create rectangular shapes and disable the subdivisions to get only a rectangle
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 05a009b9b19..71cc129d222 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4924,7 +4924,9 @@ class VIEW3D_PT_overlay_gpencil_options(Panel):
if overlay.use_gpencil_grid:
row = layout.row(align=True)
- row.prop(overlay, "gpencil_grid_scale")
+ col = row.column()
+ col.prop(overlay, "gpencil_grid_scale")
+ row = layout.row(align=True)
col = row.column()
col.prop(overlay, "gpencil_grid_lines", text="Subdivisions")
col.prop(overlay, "gpencil_grid_axis", text="Plane")