Update for rename: constraint_orientation -> orient_type

This commit is contained in:
Campbell Barton
2019-02-28 12:30:06 +11:00
parent d4366d57b0
commit c51516c3fb

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