mirror of
https://github.com/godotengine/godot-blender-exporter.git
synced 2026-02-25 02:32:46 +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):
|
if isinstance(self.blender_object.data, bpy.types.Armature):
|
||||||
for rbone in self.blender_object.data.bones:
|
for rbone in self.blender_object.data.bones:
|
||||||
if (rbone.use_inherit_rotation is False or
|
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
|
has_non_inherit_bone = True
|
||||||
break
|
break
|
||||||
self.need_baking = (
|
self.need_baking = (
|
||||||
|
|||||||
Reference in New Issue
Block a user