Commit Graph

496 Commits

Author SHA1 Message Date
Colin Basnett
ee05baf508 Add some simple PSK export tests 2026-03-02 01:17:21 -08:00
Colin Basnett
f613e50f3a Fixed regression where exporting meshes without an armature would fail 2026-03-02 01:17:07 -08:00
Colin Basnett
be920d1c91 Incremented version to 9.1.1 2026-02-26 20:53:53 -08:00
Colin Basnett
be45611657 Fix PSK export 2026-02-26 20:50:11 -08:00
Colin Basnett
9b0805279d Standardized the format of the imports in the root __init__ file 2026-02-20 13:35:20 -08:00
Colin Basnett
2e217e2902 Removed unused imports 2026-02-20 13:35:02 -08:00
Colin Basnett
0cf6c8a36f Removed AGENTS.md 2026-02-20 10:34:10 -08:00
Colin Basnett
c0ef2f7ce2 Added missing psk_psa_py wheel 9.1.0 2026-02-17 01:02:29 -08:00
Dark Nation
c38773002d Update README.md 2026-02-17 08:56:34 +00:00
Colin Basnett
d178de893f Removed root_bone_name in more places 2026-02-16 19:31:06 -08:00
Colin Basnett
a34570fc1a Removed "Root Bone Name" property since it is no longer used 2026-02-16 19:29:52 -08:00
Colin Basnett
4a9815edc2 Implement #142: Add support for SCALEKEYS 2026-02-16 17:52:08 -08:00
Colin Basnett
d66d4499e5 Only allow a single root node in the armature object tree.
Also improved error reporting for common failure cases.
2026-02-11 11:27:11 -08:00
Colin Basnett
41e772e63c Removed unused types 2026-02-06 17:54:21 -08:00
Colin Basnett
6dfc02b262 Improved UI when material lookups fail in material order list 2026-02-05 17:07:16 -08:00
Colin Basnett
13fed0e214 Minor typing change to fix a warning 2026-02-05 17:06:18 -08:00
Colin Basnett
4dac4d5115 Empty material slots and meshes with no materials are now handled correctly.
* Meshes without materials will be treated as though they have a single empty material slot.
* Empty material slots are now treated as a "None" material on export instead of being disallowed.
* The "None" material slot is appended to the end of the material list unless otherwise specified through manual material ordering.
2026-02-04 14:27:29 -08:00
Colin Basnett
63ee31bb00 Lots of typing fixes and simplifications (using list and dict instead of the typing.List etc.) 2026-02-03 00:00:47 -08:00
Colin Basnett
69fc702393 Refactor of disparate export sequences types to use a unified type 2026-01-20 00:53:11 -08:00
Colin Basnett
a8fc115b14 Added better error handling when no meshes are in collection 2026-01-15 17:38:05 -08:00
Colin Basnett
e50a964dd3 Technically got the armature-attachments working for animations as well; lots of clean up and testing needed though 2026-01-12 16:55:51 -08:00
Colin Basnett
bc7ea6472e Added AGENTS.md 2026-01-12 12:35:40 -08:00
Colin Basnett
a5eba2b6d9 Checkpoint commit 2026-01-06 23:07:45 -08:00
Colin Basnett
efe845bf4a Checkpoint for adding support for parented armatures 2026-01-06 19:11:42 -08:00
Colin Basnett
12025452d0 build_psk now creates an armature tree and uses that instead of a flat armature list 2026-01-04 16:13:57 -08:00
Colin Basnett
f6625d983a Meshes are now exported correctly when using armature trees.
We need to add thorough testing for all the various settings and manually verify their correctness.
2026-01-04 15:14:51 -08:00
Colin Basnett
0a783bb89d Checkpoint commit 2026-01-04 02:49:52 -08:00
Colin Basnett
f3b5ac9daf Added "loop" pattern name parsing for sequences
When this gets released, we need to add documentation for all the naming tricks because it's getting a bit out of hand now and I need documentation even just for myself.
2026-01-02 16:32:14 -08:00
Colin Basnett
5edebd3477 Fix #140: PSKX with multiple extra UV channels not importing correctly
This was caused by a missing refactor after the underlying data structure of the extra UVs was changed.

An additional test has been added to ensure this won't happen again.
9.0.2
2025-12-16 23:58:38 -08:00
Colin Basnett
5cfff529b2 Minor edits to remove type errors 2025-12-08 23:18:38 -08:00
Colin Basnett
127338b6ac Added pre-build wheel for psk_psa_py
Will consider setting up some sort automation and using submodules if needed in the future.
2025-12-08 20:06:42 -08:00
Colin Basnett
fd3e54eb10 Incremented version to 9.0.1 9.0.1 2025-12-08 19:46:09 -08:00
Colin Basnett
cc730b6ce3 Implement #136: Added support for exporting group properties for sequences 2025-12-03 17:44:05 -08:00
Colin Basnett
94c940b970 Added psk_psa_py package to replace basic data IO
Fixed PSK and PSA export
2025-12-02 17:44:40 -08:00
Colin Basnett
c5bb526843 Added support for podman when running tests
I use Bazzite, and it uses `podman` for it's container CLI system.
2025-11-27 14:43:11 -08:00
Colin Basnett
384f017bdd Fixed shape key value test asserts 2025-11-27 13:55:25 -08:00
Colin Basnett
485d46e075 Added typing casts to PSK import tests 2025-11-27 13:45:32 -08:00
Colin Basnett
d7bc8fd080 Fix #137: Shape keys start with 1.0 value on PSK import
There was an undocumented change in 5.0 where the shape keys now start with a weight of 1.0 instead of 0.0 when created.

I have added an assert in the shape key test to make sure that the values are set to `0.0`.

This also fixes the assertion in the poll function (asserts should never be in poll functions).
2025-11-27 13:44:51 -08:00
Colin Basnett
c370bc902b Now using fcurves.ensure when assembling import bone fcurve list 2025-11-27 13:17:00 -08:00
Colin Basnett
fe97b229d9 Channel bags now being created using the anim_utils convenience function 2025-11-27 13:10:56 -08:00
Colin Basnett
622aa46a82 Removed soon-to-be-deprecated Material.use_nodes assignment 2025-11-27 13:03:11 -08:00
Colin Basnett
66881d5ac1 Changed Blender 4.4 references to 5.0 2025-11-27 12:59:35 -08:00
Colin Basnett
1bac8b2b30 Fix #139: PSA import does not work on Blender 5.0 2025-11-27 12:52:40 -08:00
Colin Basnett
3153be3cdf Fix for error when exporting from Blender 5.0
`Action.fcurves` was removed. We now use `layers` to determine if there is data or not.
2025-11-24 15:17:42 -08:00
Colin Basnett
9b98909c8b Fixed embarrassing typo that stopped PSK collection exporter from working 2025-11-22 21:09:11 -08:00
Colin Basnett
37f7cc4d9f Increment version to 8.2.4 8.2.4 2025-11-08 18:28:21 -08:00
Colin Basnett
93083f09f8 Fix #135: Extra UV maps have incorrect data
This was caused by a regression caused by 29831d7f09.

The test for importing extra UVs has been updated to check that the data is different between the different UV layers.
2025-11-08 18:27:40 -08:00
Colin Basnett
75660f9dc1 Incremented version to 8.2.3 2025-10-31 12:43:09 -07:00
Colin Basnett
5421ac5151 Removed debugging code 2025-10-31 12:42:14 -07:00
Colin Basnett
9dcbb74058 Fix for missing transform source and broken scale controls on PSK export dialog 2025-10-31 12:41:14 -07:00