Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-02-28 04:28:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-28 04:28:54 +0300
commitaaf97075b4ee65eeb22f9832695cb716f1319ab3 (patch)
treebc1f7a144ce144ffaa126906b024fb199b7e9768 /object_skinify.py
parent0bbba588f7a5fcdf22107e82308b04462e696f3a (diff)
Update for rename: constraint_orientation -> orient_type
Diffstat (limited to 'object_skinify.py')
-rw-r--r--object_skinify.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/object_skinify.py b/object_skinify.py
index d52d6937..329aaf9b 100644
--- a/object_skinify.py
+++ b/object_skinify.py
@@ -448,7 +448,7 @@ def generate_mesh(shape_object, size, thickness=0.8, finger_thickness=0.25, sub_
bpy.ops.object.skin_root_mark(override)
bpy.ops.transform.skin_resize(override,
value=(1 * thickness * (size / 10), 1 * thickness * (size / 10), 1 * thickness * (size / 10)),
- constraint_axis=(False, False, False), constraint_orientation='GLOBAL',
+ constraint_axis=(False, False, False), orient_type='GLOBAL',
mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH',
proportional_size=1
)
@@ -463,7 +463,7 @@ def generate_mesh(shape_object, size, thickness=0.8, finger_thickness=0.25, sub_
# by default set fingers thickness to 25 percent of body thickness
bpy.ops.transform.skin_resize(override,
value=(finger_thickness, finger_thickness, finger_thickness),
- constraint_axis=(False, False, False), constraint_orientation='GLOBAL',
+ constraint_axis=(False, False, False), orient_type='GLOBAL',
mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH',
proportional_size=1
)
@@ -492,7 +492,7 @@ def generate_mesh(shape_object, size, thickness=0.8, finger_thickness=0.25, sub_
bpy.ops.mesh.merge(type='CENTER')
bpy.ops.transform.skin_resize(override,
value=(corrective_thickness, corrective_thickness, corrective_thickness),
- constraint_axis=(False, False, False), constraint_orientation='GLOBAL',
+ constraint_axis=(False, False, False), orient_type='GLOBAL',
mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH',
proportional_size=1
)
@@ -505,7 +505,7 @@ def generate_mesh(shape_object, size, thickness=0.8, finger_thickness=0.25, sub_
bpy.ops.mesh.merge(type='CENTER')
bpy.ops.transform.skin_resize(override,
value=(corrective_thickness, corrective_thickness, corrective_thickness),
- constraint_axis=(False, False, False), constraint_orientation='GLOBAL',
+ constraint_axis=(False, False, False), orient_type='GLOBAL',
mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH',
proportional_size=1
)
@@ -519,7 +519,7 @@ def generate_mesh(shape_object, size, thickness=0.8, finger_thickness=0.25, sub_
corrective_thickness = 0.7
bpy.ops.transform.skin_resize(override,
value=(corrective_thickness, corrective_thickness, corrective_thickness),
- constraint_axis=(False, False, False), constraint_orientation='GLOBAL',
+ constraint_axis=(False, False, False), orient_type='GLOBAL',
mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH',
proportional_size=1
)