Version Bump

This commit is contained in:
989onan
2025-07-15 17:53:10 -04:00
parent f8ef79e7cc
commit c055d60053
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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
-1
View File
@@ -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
+3
View File
@@ -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