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:
authorCampbell Barton <campbell@blender.org>2022-05-26 09:00:15 +0300
committerCampbell Barton <campbell@blender.org>2022-05-26 09:00:15 +0300
commit374ce5dcb492447cb1ee51b32d2805f4eca29e78 (patch)
treece57baf3344451bead69184addbccc18d549134e /release
parentae5d3fa2d03f9be43e1562449f9c9064920d06fe (diff)
parent3131107ba3aa66a9389a422424c9cde1fdd1b70d (diff)
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'release')
-rw-r--r--release/scripts/templates_py/gizmo_operator.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/templates_py/gizmo_operator.py b/release/scripts/templates_py/gizmo_operator.py
index 450f67ba3a4..75595b0c5ea 100644
--- a/release/scripts/templates_py/gizmo_operator.py
+++ b/release/scripts/templates_py/gizmo_operator.py
@@ -84,7 +84,7 @@ class SelectSideOfPlaneGizmoGroup(GizmoGroup):
bl_label = "Side of Plane Gizmo"
bl_space_type = 'VIEW_3D'
bl_region_type = 'WINDOW'
- bl_options = {'3D'}
+ bl_options = {'3D', 'EXCLUDE_MODAL'}
# Helper functions
@staticmethod
@@ -199,7 +199,8 @@ class SelectSideOfPlaneGizmoGroup(GizmoGroup):
matrix.col[0].xyz = no_x
matrix.col[1].xyz = no_y
matrix.col[2].xyz = no_z
- matrix.col[3].xyz = co
+ # The location callback handles the location.
+ # `matrix.col[3].xyz = co`.
# Dial
no_z = self.rotate_axis