PSA Export:
* Actions with no f-curve data will not be automatically selected for export PSK Export: * Now enforcing a rule that the mesh's armature modifier must be the last in the stack (if it isn't, mesh skinning will be absent in resultant PSK) * Fixed a crash that would occur when attempting to attempt to export a mesh with an empty material slot
This commit is contained in:
@@ -56,8 +56,9 @@ class PsaExportOperator(Operator, ExportHelper):
|
||||
row.template_list('PSA_UL_ActionList', 'asd', scene, 'psa_action_list', scene, 'psa_action_list_index', rows=len(context.scene.psa_action_list))
|
||||
|
||||
def is_action_for_armature(self, action):
|
||||
if len(action.fcurves) == 0:
|
||||
return False
|
||||
bone_names = [x.name for x in self.armature.data.bones]
|
||||
print(bone_names)
|
||||
for fcurve in action.fcurves:
|
||||
match = re.match('pose\.bones\["(.+)"\].\w+', fcurve.data_path)
|
||||
if not match:
|
||||
|
||||
Reference in New Issue
Block a user