Update for rename: constraint_orientation -> orient_type
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user