From c51516c3fbf9c5f379f73ca10cdce3fb4c63a017 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 28 Feb 2019 12:30:06 +1100 Subject: [PATCH] Update for rename: constraint_orientation -> orient_type --- release/scripts/templates_py/gizmo_operator_target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()