[Bf-blender-cvs] [c51516c3fbf] master: Update for rename: constraint_orientation -> orient_type

Campbell Barton noreply at git.blender.org
Thu Feb 28 02:31:17 CET 2019


Commit: c51516c3fbf9c5f379f73ca10cdce3fb4c63a017
Author: Campbell Barton
Date:   Thu Feb 28 12:30:06 2019 +1100
Branches: master
https://developer.blender.org/rBc51516c3fbf9c5f379f73ca10cdce3fb4c63a017

Update for rename: constraint_orientation -> orient_type

===================================================================

M	release/scripts/templates_py/gizmo_operator_target.py

===================================================================

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()



More information about the Bf-blender-cvs mailing list