Colin Basnett
160a6b22f6
Fix for grammatical error
2023-07-26 16:28:37 -07:00
Colin Basnett
84f168a9c0
Handle importing PSAs with duplicate bone names gracefully
...
For Harry Potter 2 models, the rig and the PSA files have bones with identical names. This would cause the PSA importer to fail because it was expecting that each bone name would be unique. The new behavior is to ignore duplicate bones when importing the f-curve data, but print a warning to let the user know something is wacky with their PSA rig.
For example, if there are two bones, A and B, with the same name, the first bone encountered (A) in the tree will be mapped to the armature bone, but bone B will be ignored.
2023-07-26 16:25:52 -07:00
Colin Basnett
0428c2bd72
Merge branch 'master' of https://github.com/DarklightGames/io_scene_psk_psa
2023-07-22 17:10:16 -07:00
Colin Basnett
75033056fa
Improved the poll message for PSK export when there are multiple armature objects
2023-07-22 17:09:28 -07:00
Colin Basnett
1f81a6b86b
Update README.md
2023-07-10 00:24:11 -07:00
Colin Basnett
51b105b5fb
Fix issue #37
...
https://github.com/DarklightGames/io_scene_psk_psa/issues/37
2023-06-25 01:22:47 -07:00
Colin Basnett
2993d4569f
Added kofi badge to README
2023-06-20 19:46:01 -07:00
Colin Basnett
536937cc26
Removed superfluous funding file
2023-06-20 19:45:36 -07:00
Colin Basnett
68dee73d1a
Added kofi funding link
2023-06-20 19:00:31 -07:00
Colin Basnett
202a77d38a
Removed defunct material path preferences (BDK addon integration now handles this for us!)
2023-06-20 19:00:17 -07:00
Colin Basnett
5cb9714597
Added key compression functionality
2023-04-30 20:18:59 -07:00
Colin Basnett
15e20cdefc
Removed zip file added in error
2023-04-27 21:19:17 -07:00
Colin Basnett
9e18e40387
Merge branch 'bdk'
...
# Conflicts:
# README.md
# io_scene_psk_psa/__init__.py
# io_scene_psk_psa/psk/data.py
# io_scene_psk_psa/psk/importer.py
# io_scene_psk_psa/psk/reader.py
2023-04-27 19:56:09 -07:00
Colin Basnett
268d039693
Disabling root motion now correctly exports the root bone in the bind pose in animations
...
The description for Root Motion has also been updated to better explain how the setting works.
2023-04-27 19:43:15 -07:00
Colin Basnett
9566131690
Updated the readme.
2023-04-04 02:42:31 -07:00
Colin Basnett
e4e2354834
Added option to include or exclude shape keys from PSK import.
2023-04-03 22:12:09 -07:00
Colin Basnett
db6204d592
Incremented version to 4.3.0
2023-04-03 22:03:14 -07:00
Colin Basnett
89772ad90d
Added an empty MORPH_BASE
shape key if any shape keys are present on import.
2023-04-03 22:01:25 -07:00
Colin Basnett
f54d10bb80
Added support for reading and importing MRPHINFO and MRPHKEYS sections.
2023-04-03 21:28:08 -07:00
Colin Basnett
c99725b686
Bumped the minimum Blender version to 2.90
.
2023-04-03 02:26:53 -07:00
Colin Basnett
947c86eb8f
Fix for issue #32 .
...
Unrecognized sections are now simply ignored.
2023-04-03 01:52:52 -07:00
Colin Basnett
7111a536b2
A blank material is now created if it is unable to be loaded via the BDK.
2023-04-03 01:40:17 -07:00
Colin Basnett
25e1b73fc7
Removed unused property
2023-04-03 01:39:57 -07:00
Colin Basnett
f7b97added
* Allow users to export a sequence in reverse
...
You can do this by naming a sequence `<name>/<reversed_name>`. For example, `crawlF/crawlB` will result in two export options: `crawlF` (forward) and `crawlB` (the same animation, but reversed).
* Allow users to exclude sequences from the export dialog by prepending the name of the action/marker with a "#" character.
* The "Use original sequence names" option has been removed as it's not really needed.
2023-04-01 15:04:16 -07:00
Colin Basnett
fd02f3f4d7
Now using new BDK addon operators to load the materials
2023-03-09 01:51:04 -08:00
Colin Basnett
f40db53cb9
Fixed a bug where it was possible to export a PSK with no bones
2023-02-18 00:28:31 -08:00
Colin Basnett
c9d4958800
Sequences can now be exported from action pose markers
2023-02-17 22:18:46 -08:00
Colin Basnett
8221130e4a
BDK code commit
2023-01-03 20:05:45 -08:00
Colin Basnett
5a66cab92e
Renamed "Reuse Existing Actions" to "Overwrite" in PSA import options.
2023-01-02 19:37:11 -08:00
Colin Basnett
4811911e4a
Updated typing and minor non-functional changes
2023-01-02 19:36:31 -08:00
Colin Basnett
eceb0622af
Updated README.
2023-01-02 16:02:10 -08:00
Colin Basnett
b26e49d403
The PSA import functionality has been moved to a file import dialog.
...
As a result, the "PSA Import" panel in the Armature Data tab has been
removed as it is now redundant.
This was made possible by https://developer.blender.org/D15543 .
As a result, the minimum Blender version has now been bumped to 3.4.
The 4.2.0 version is now in LTS mode and will not be receiving new
features.
2023-01-02 15:47:00 -08:00
Colin Basnett
ab998885bb
Update README.md
2022-12-06 10:13:30 -08:00
Colin Basnett
f821bec0ff
Update README.md
2022-12-06 10:13:13 -08:00
Colin Basnett
43b0fe82dd
Update README.md
2022-12-06 10:11:55 -08:00
Colin Basnett
17e9e83826
Incremented version to 4.2.0
2022-11-25 12:44:50 -08:00
Colin Basnett
44afce3e64
Improved PSA import speed dramatically
2022-11-24 16:38:06 -08:00
Colin Basnett
449331cd00
Fixed a bug where certain material errors would not display correctly
2022-11-22 12:57:44 -08:00
Colin Basnett
8ada80e243
Typing and naming improvements
2022-11-22 12:57:06 -08:00
Colin Basnett
38ed183897
Fixed a bug where the root bone orientation would be exported incorrectly
2022-11-22 12:55:56 -08:00
Colin Basnett
9ae573422b
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
2022-11-16 12:34:09 -08:00
Colin Basnett
86473584b8
Fixing warnings and typing
2022-11-12 16:26:40 -08:00
Colin Basnett
aa8725c3d0
Added a "Bone Mapping" option.
...
This allows imported PSA actions to map to armature bones with names
that differ only by case.
In addition, import warnings are now written to the info log so they
have better visibility to the user.
2022-11-12 16:25:19 -08:00
Colin Basnett
980042fc7f
Incremented version to 4.1.0
2022-11-01 11:34:31 -07:00
Colin Basnett
02082b9594
Added an option to bake imported PSA sequences to samples.
...
Also, the "Clean Keyframes" option has been removed from the PSA import
because it did not work correctly.
This will be replaced by a "Decimate F-Curves" option in the future.
2022-11-01 11:33:39 -07:00
Colin Basnett
4181a15d0e
Improved comment and typing information
2022-11-01 11:32:50 -07:00
Colin Basnett
b6ef3dda44
Simplified method used to put armature in bind pose for PSK export
2022-11-01 11:32:25 -07:00
Colin Basnett
f7290e6808
The scene's frame and selected object's active action is now restored after PSA export
2022-11-01 11:30:13 -07:00
Colin Basnett
65d3104ea9
Added an option to ignore bone name restrictions
2022-11-01 11:28:55 -07:00
Colin Basnett
1a48128cb9
Updated bone name constraint message
2022-08-30 23:44:12 -07:00