diff --git a/__init__.py b/__init__.py index 2b8b692..33e481c 100644 --- a/__init__.py +++ b/__init__.py @@ -16,7 +16,7 @@ def show_version_error_popup(): def register(): import bpy version = bpy.app.version - if version[0] > 4 or (version[0] == 4 and version[1] >= 5): + if version[0] > 5 or (version[0] == 5 and version[1] >= 3): show_version_error_popup() return diff --git a/core/common.py b/core/common.py index d1785b2..d4ea528 100644 --- a/core/common.py +++ b/core/common.py @@ -639,7 +639,6 @@ def duplicate_bone(bone: EditBone) -> EditBone: new_bone.use_connect = bone.use_connect new_bone.use_local_location = bone.use_local_location new_bone.use_inherit_rotation = bone.use_inherit_rotation - new_bone.use_inherit_scale = bone.use_inherit_scale new_bone.use_deform = bone.use_deform return new_bone diff --git a/functions/tools/bone_tools.py b/functions/tools/bone_tools.py index 393ad04..0c104fd 100644 --- a/functions/tools/bone_tools.py +++ b/functions/tools/bone_tools.py @@ -55,7 +55,10 @@ class AvatarToolKit_OT_CreateDigitigradeLegs(Operator): bpy.ops.armature.select_all(action='DESELECT') # Create and position calf bone + prev_connect = digi1.use_connect + digi1.use_connect = False calf = duplicate_bone(digi1) + digi1.use_connect = prev_connect calf.name = digi1.name.split('.')[0] calf.parent = digi0