[Bf-extensions-cvs] [cb83f98b] master: Update for rename: constraint_orientation -> orient_type
Campbell Barton
noreply at git.blender.org
Thu Feb 28 02:29:35 CET 2019
Commit: cb83f98b593ffebce273258f8473fce87fae958f
Author: Campbell Barton
Date: Thu Feb 28 12:27:56 2019 +1100
Branches: master
https://developer.blender.org/rBACcb83f98b593ffebce273258f8473fce87fae958f
Update for rename: constraint_orientation -> orient_type
===================================================================
M io_import_sound_to_anim.py
M io_mesh_gwyddion/import_gwyddion.py
M io_mesh_xyz/import_xyz.py
M np_station/np_float_poly.py
M np_station/np_point_scale.py
M space_view3d_toolshelf_menu.py
===================================================================
diff --git a/io_import_sound_to_anim.py b/io_import_sound_to_anim.py
index 9c414dea..ceab4323 100644
--- a/io_import_sound_to_anim.py
+++ b/io_import_sound_to_anim.py
@@ -836,7 +836,7 @@ class OBJECT_OT_Botao_Import(bpy.types.Operator):
bpy.ops.transform.translate(value=(ilocationXAnt*-1, ilocationYAnt*-1, \
ilocationZAnt*-1), constraint_axis=(bEixoX, bEixoY,bEixoZ), \
- constraint_orientation='GLOBAL', mirror=False, \
+ orient_type='GLOBAL', mirror=False, \
proportional='DISABLED', proportional_edit_falloff='SMOOTH', \
proportional_size=1, snap=False, \
snap_target='CLOSEST', snap_point=(0, 0, 0), \
@@ -850,7 +850,7 @@ class OBJECT_OT_Botao_Import(bpy.types.Operator):
bpy.ops.transform.translate(value=(ilocationX, ilocationY, \
ilocationZ), constraint_axis=(bEixoX, bEixoY,bEixoZ), \
- constraint_orientation='GLOBAL', mirror=False, \
+ orient_type='GLOBAL', mirror=False, \
proportional='DISABLED', proportional_edit_falloff='SMOOTH', \
proportional_size=1, snap=False, \
snap_target='CLOSEST', snap_point=(0, 0, 0), snap_align=False, \
@@ -870,7 +870,7 @@ class OBJECT_OT_Botao_Import(bpy.types.Operator):
bpy.ops.transform.resize(value=(tmpscaleXAnt, tmpscaleYAnt, \
tmpscaleZAnt ), constraint_axis=(False, False, False), \
- constraint_orientation='GLOBAL', mirror=False, \
+ orient_type='GLOBAL', mirror=False, \
proportional='DISABLED', proportional_edit_falloff='SMOOTH', \
proportional_size=1, snap=False, snap_target='CLOSEST', \
snap_point=(0, 0, 0), snap_align=False, \
@@ -883,7 +883,7 @@ class OBJECT_OT_Botao_Import(bpy.types.Operator):
bpy.ops.transform.resize(value=(iscaleX, iscaleY, \
iscaleZ), constraint_axis=(False, False, False), \
- constraint_orientation='GLOBAL', mirror=False, \
+ orient_type='GLOBAL', mirror=False, \
proportional='DISABLED', proportional_edit_falloff='SMOOTH', \
proportional_size=1, snap=False, \
snap_target='CLOSEST', snap_point=(0, 0, 0), \
diff --git a/io_mesh_gwyddion/import_gwyddion.py b/io_mesh_gwyddion/import_gwyddion.py
index 5fd60917..edefc413 100644
--- a/io_mesh_gwyddion/import_gwyddion.py
+++ b/io_mesh_gwyddion/import_gwyddion.py
@@ -272,7 +272,7 @@ def create_mesh(data_list,
bpy.ops.transform.rotate(value=(90.0*2*pi/360.0),
axis=object_camera_vec,
constraint_axis=(False, False, False),
- constraint_orientation='GLOBAL',
+ orient_type='GLOBAL',
mirror=False, proportional='DISABLED',
proportional_edit_falloff='SMOOTH',
proportional_size=1, snap=False,
diff --git a/io_mesh_xyz/import_xyz.py b/io_mesh_xyz/import_xyz.py
index 04ab6421..4bf748e6 100644
--- a/io_mesh_xyz/import_xyz.py
+++ b/io_mesh_xyz/import_xyz.py
@@ -548,7 +548,7 @@ def import_xyz(Ball_type,
bpy.ops.transform.rotate(value=(90.0*2*pi/360.0),
axis=object_camera_vec,
constraint_axis=(False, False, False),
- constraint_orientation='GLOBAL',
+ orient_type='GLOBAL',
mirror=False, proportional='DISABLED',
proportional_edit_falloff='SMOOTH',
proportional_size=1, snap=False,
diff --git a/np_station/np_float_poly.py b/np_station/np_float_poly.py
index 5cc426ef..07e74744 100644
--- a/np_station/np_float_poly.py
+++ b/np_station/np_float_poly.py
@@ -2103,7 +2103,7 @@ class NPFPRunExtrude(bpy.types.Operator):
else:
bpy.ops.transform.translate('INVOKE_DEFAULT',
constraint_axis=(False, False, True),
- constraint_orientation='NORMAL')
+ orient_type='NORMAL')
np_print('B')
np_print('10_run_EXTRUDE_count_1_INVOKE_DEFAULT')
diff --git a/np_station/np_point_scale.py b/np_station/np_point_scale.py
index f6b5d7bc..4d642a1c 100644
--- a/np_station/np_point_scale.py
+++ b/np_station/np_point_scale.py
@@ -830,7 +830,7 @@ class NPPSRunResize(bpy.types.Operator):
args = (self, context)
self._handle = bpy.types.SpaceView3D.draw_handler_add(DRAW_RunResize, args, 'WINDOW', 'POST_PIXEL')
context.window_manager.modal_handler_add(self)
- bpy.ops.transform.resize('INVOKE_DEFAULT', constraint_axis = axis, constraint_orientation = 'GLOBAL')
+ bpy.ops.transform.resize('INVOKE_DEFAULT', constraint_axis = axis, orient_type = 'GLOBAL')
np_print('RunResize_INVOKE_a_RUNNING_MODAL')
return {'RUNNING_MODAL'}
diff --git a/space_view3d_toolshelf_menu.py b/space_view3d_toolshelf_menu.py
index 19a7b0e4..117ecd72 100644
--- a/space_view3d_toolshelf_menu.py
+++ b/space_view3d_toolshelf_menu.py
@@ -878,26 +878,26 @@ class VIEW3D_MT_MirrorMenu2(Menu):
layout.operator_context = 'INVOKE_REGION_WIN'
props = layout.operator("transform.mirror", text="X Global")
props.constraint_axis = (True, False, False)
- props.constraint_orientation = 'GLOBAL'
+ props.orient_type = 'GLOBAL'
props = layout.operator("transform.mirror", text="Y Global")
props.constraint_axis = (False, True, False)
- props.constraint_orientation = 'GLOBAL'
+ props.orient_type = 'GLOBAL'
props = layout.operator("transform.mirror", text="Z Global")
props.constraint_axis = (False, False, True)
- props.constraint_orientation = 'GLOBAL'
+ props.orient_type = 'GLOBAL'
if context.edit_object:
UseSeparator(self, context)
props = layout.operator("transform.mirror", text="X Local")
props.constraint_axis = (True, False, False)
- props.constraint_orientation = 'LOCAL'
+ props.orient_type = 'LOCAL'
props = layout.operator("transform.mirror", text="Y Local")
props.constraint_axis = (False, True, False)
- props.constraint_orientation = 'LOCAL'
+ props.orient_type = 'LOCAL'
props = layout.operator("transform.mirror", text="Z Local")
props.constraint_axis = (False, False, True)
- props.constraint_orientation = 'LOCAL'
+ props.orient_type = 'LOCAL'
UseSeparator(self, context)
layout.operator("object.vertex_group_mirror")
More information about the Bf-extensions-cvs
mailing list