mirror of
https://github.com/DarklightGames/io_scene_psk_psa.git
synced 2025-03-04 07:38:14 +01:00
Fixed a bug where actions would not be considered to be "for" an armature if its only F-Curve data was for custom properties on a bone
This commit is contained in:
parent
86473584b8
commit
9ae573422b
@ -280,7 +280,7 @@ class PsaExportOperator(Operator, ExportHelper):
|
||||
return False
|
||||
bone_names = set([x.name for x in self.armature.data.bones])
|
||||
for fcurve in action.fcurves:
|
||||
match = re.match(r'pose\.bones\["(.+)"].\w+', fcurve.data_path)
|
||||
match = re.match(r'pose\.bones\[\"([^\"]+)\"](\[\"([^\"]+)\"])?', fcurve.data_path)
|
||||
if not match:
|
||||
continue
|
||||
bone_name = match.group(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user