diff options
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 8bb211052da..9b9623eaa60 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -5354,6 +5354,8 @@ class VIEW3D_PT_overlay_guides(Panel): layout = self.layout view = context.space_data + scene = context.scene + overlay = view.overlay shading = view.shading display_all = overlay.show_overlays @@ -5381,6 +5383,8 @@ class VIEW3D_PT_overlay_guides(Panel): (overlay.show_ortho_grid and grid_active) ) sub.prop(overlay, "grid_scale", text="Scale") + sub = sub.row(align=True) + sub.active = scene.unit_settings.system == 'NONE' sub.prop(overlay, "grid_subdivisions", text="Subdivisions") sub = split.column() |