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:
authormeta-androcto <meta.androcto1@gmail.com>2019-06-27 03:09:01 +0300
committermeta-androcto <meta.androcto1@gmail.com>2019-06-27 03:09:01 +0300
commitb7438b8a75f68e1e0487cee612e649cdfee5fa70 (patch)
treedaaac2eebd0c90fe7068287ff9f9599eb4b04e94 /add_mesh_geodesic_domes
parent2ba08390b59e9874d505d8f2815467b7b726d7ed (diff)
add_mesh_geodesic_domes: Fix for ctest: script_load_addons fails: T66156
Diffstat (limited to 'add_mesh_geodesic_domes')
-rw-r--r--add_mesh_geodesic_domes/__init__.py2
-rw-r--r--add_mesh_geodesic_domes/add_shape_geodesic.py8
2 files changed, 5 insertions, 5 deletions
diff --git a/add_mesh_geodesic_domes/__init__.py b/add_mesh_geodesic_domes/__init__.py
index 4b3d8fc1..d18de0c1 100644
--- a/add_mesh_geodesic_domes/__init__.py
+++ b/add_mesh_geodesic_domes/__init__.py
@@ -190,7 +190,7 @@ def menu_func(self, context):
# Register
classes = [
- add_shape_geodesic.add_corrective_pose_shape_fast,
+ add_shape_geodesic.add_pose_shape_fast,
third_domes_panel_271.GenerateGeodesicDome,
third_domes_panel_271.DialogOperator,
]
diff --git a/add_mesh_geodesic_domes/add_shape_geodesic.py b/add_mesh_geodesic_domes/add_shape_geodesic.py
index 70cd1201..d461bd15 100644
--- a/add_mesh_geodesic_domes/add_shape_geodesic.py
+++ b/add_mesh_geodesic_domes/add_shape_geodesic.py
@@ -7,7 +7,7 @@ def reset_transform(ob):
ob.matrix_local = m
-def func_add_corrective_pose_shape_fast(source, target):
+def func_add_pose_shape_fast(source, target):
result = ""
reset_transform(target)
# If target object doesn't have Basis shape key, create it.
@@ -67,8 +67,8 @@ def func_add_corrective_pose_shape_fast(source, target):
return result
-class add_corrective_pose_shape_fast(bpy.types.Operator):
- bl_idname = "object.add_corrective_pose_shape_fast"
+class add_pose_shape_fast(bpy.types.Operator):
+ bl_idname = "object.add_pose_shape_fast"
bl_label = "Add object as corrective shape faster"
bl_description = "Adds 1st object as shape to 2nd object as pose shape (only 1 armature)"
@@ -90,6 +90,6 @@ class add_corrective_pose_shape_fast(bpy.types.Operator):
source = selection[0]
print(source)
print(target)
- func_add_corrective_pose_shape_fast(source, target)
+ func_add_pose_shape_fast(source, target)
return {'FINISHED'}