Fix T72099: Exception drawing guide UI in quad view

This commit is contained in:
Kevin Buhr 2019-12-02 15:12:10 +11:00 committed by Campbell Barton
parent f1ac64921b
commit 1f6c3699a8
Notes: blender-bot 2023-02-14 07:39:46 +01:00
Referenced by issue #72152, DRW_debug_sphere Not Working After Overlay Refactor
Referenced by issue #72114, Curves are not drawing anymore (objectmode)
Referenced by issue #72099, In quad view, most overlay settings for "Guides" are missing
1 changed files with 1 additions and 1 deletions

View File

@ -5567,7 +5567,7 @@ class VIEW3D_PT_overlay_guides(Panel):
row = sub.row()
row_el = row.column()
row_el.prop(overlay, "show_ortho_grid", text="Grid")
grid_active = (
grid_active = bool(
view.region_quadviews or
(view.region_3d.is_orthographic_side_view and not view.region_3d.is_perspective)
)