Update for rename: constraint_orientation -> orient_type
authorCampbell Barton <ideasman42@gmail.com>
Thu, 28 Feb 2019 01:30:06 +0000 (12:30 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 28 Feb 2019 01:30:56 +0000 (12:30 +1100)
release/scripts/templates_py/gizmo_operator_target.py

index 606aa67..efb6a70 100644 (file)
@@ -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()