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 <ideasman42@gmail.com>2019-02-28 04:30:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-28 04:30:56 +0300
commitc51516c3fbf9c5f379f73ca10cdce3fb4c63a017 (patch)
treed774ac5e155d2ab847329e2c4dd5174b550ae39d /release/scripts/templates_py
parentd4366d57b090e0f12c536b8e01ae70a1458e41a2 (diff)
Update for rename: constraint_orientation -> orient_type
Diffstat (limited to 'release/scripts/templates_py')
-rw-r--r--release/scripts/templates_py/gizmo_operator_target.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates_py/gizmo_operator_target.py b/release/scripts/templates_py/gizmo_operator_target.py
index 606aa6749d0..efb6a70489a 100644
--- a/release/scripts/templates_py/gizmo_operator_target.py
+++ b/release/scripts/templates_py/gizmo_operator_target.py
@@ -27,7 +27,7 @@ class MyCameraWidgetGroup(GizmoGroup):
mpr = self.gizmos.new("GIZMO_GT_dial_3d")
props = mpr.target_set_operator("transform.rotate")
props.constraint_axis = False, False, True
- props.constraint_orientation = 'LOCAL'
+ props.orient_type = 'LOCAL'
props.release_confirm = True
mpr.matrix_basis = ob.matrix_world.normalized()