mirror of
https://github.com/godotengine/godot-blender-exporter.git
synced 2025-12-31 17:49:19 +03:00
Merge pull request #421 from widiba03304/master
Fix use_inherit_scale deprecation, which is removed in 4.0
This commit is contained in:
@@ -60,7 +60,8 @@ class ObjectAnimationExporter:
|
||||
if isinstance(self.blender_object.data, bpy.types.Armature):
|
||||
for rbone in self.blender_object.data.bones:
|
||||
if (rbone.use_inherit_rotation is False or
|
||||
rbone.use_inherit_scale is False):
|
||||
rbone.inherit_scale == 'NONE' or
|
||||
rbone.inherit_scale == 'NONE_LEGACY'):
|
||||
has_non_inherit_bone = True
|
||||
break
|
||||
self.need_baking = (
|
||||
|
||||
Reference in New Issue
Block a user