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:
authorKevin Buhr <buhr>2019-12-02 07:12:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-12-02 07:12:43 +0300
commit1f6c3699a836d485ed37f443cd0fcd19e978dbb6 (patch)
tree1caefe3fdaa94073c25e352f6f216c4adb74187d
parentf1ac64921b49eaea8658d144754a1a532198c720 (diff)
Fix T72099: Exception drawing guide UI in quad view
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 9f04dc4627a..a1967d63d2e 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -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)
)