Colin Basnett
403e9a5cca
Update README.md
...
Clarified the need for manually assigning actions after importing PSAs.
2023-10-19 16:06:03 -07:00
Colin Basnett
7dce3b4920
Merge branch 'master' into blender-4.0
...
# Conflicts:
# io_scene_psk_psa/__init__.py
# io_scene_psk_psa/helpers.py
2023-10-19 13:24:48 -07:00
Colin Basnett
2a5a4b2a3d
Added sanity check for populating the bone group list
2023-10-19 13:24:06 -07:00
Colin Basnett
a1d5fdd464
Merge branch 'master' of https://github.com/DarklightGames/io_scene_psk_psa
2023-10-19 13:15:05 -07:00
Colin Basnett
122e765bca
PSA sequences are now selected by default
...
There were multiple bug reports from users who were getting mixed
signals from the addon, believing that the bone name warnings were
the cause of the sequences not being imported. The actual issue was that
users didn't know they needed to manually select the sequences within
the PSA.
This should fix the poor UX around this, as just having it selected by
default is more sensible for a wider audience.
2023-10-19 13:14:57 -07:00
Colin Basnett
94658ac221
Update issue templates
2023-10-02 22:59:58 -07:00
Colin Basnett
c18ac85eed
A warning is now emitted when exporting a PSK with mesh objects that have negative scaling values
2023-09-30 00:53:37 -07:00
Colin Basnett
afcfebe84a
Removed debug print
2023-09-18 14:16:02 -07:00
Colin Basnett
cf13aade98
Removed legacy handling of storing original bone poses within the custom properties of edit bones
...
It doesn't appear that this code was even being exercised. If problems arise, we can restore the functionality.
2023-09-18 14:13:49 -07:00
Colin Basnett
14c2f585dc
Merge branch 'fps-features' into blender-4.0
2023-09-18 13:40:06 -07:00
Colin Basnett
7907341a22
Updated README
2023-09-18 13:24:21 -07:00
Colin Basnett
46443162a7
Merge branch 'feature-nla-track-sequence-5x' into blender-4.0
...
# Conflicts:
# io_scene_psk_psa/__init__.py
# io_scene_psk_psa/psa/export/operators.py
2023-09-18 13:24:12 -07:00
Colin Basnett
10fe75c2aa
Updated the minimum Blender version to 4.0.0 and incremented the addon version to 6.0.0
2023-09-18 12:57:02 -07:00
Colin Basnett
32e0d89dbd
Updated PSK and PSA export to use new Blender 4.0 bone collections instead of bone groups
2023-09-17 21:18:41 -07:00
Colin Basnett
4db8764677
Incremented version to v5.0.5
2023-09-09 18:34:04 -07:00
Colin Basnett
f185ffbe16
Fixed a bug where the importer would crash when importing PSA files from programs using CUE4Parse ( #46 )
...
This is not actually a bug in this addon, but a bug with the CUE4Parse library itself. A fix for the library has been submitted (https://github.com/FabianFG/CUE4Parse/issues/103 ), but there will still be bugged versions hanging around for a while, so it's prudent to have this addon accomodate the broken files, especially since the fix is relatively easy and won't interfere with properly formatted files.
At some point, this fix will be deprecated to reduce cruft.
2023-09-09 18:24:38 -07:00
Colin Basnett
3d460a15e3
Added a specific error for when the user doesn't select any animations to export, as this was confusing some folks
2023-09-06 02:38:11 -07:00
Colin Basnett
da39c14464
Fix for #47
...
This code had been refactored but not tested with the no-armature workflow
2023-09-05 23:37:42 -07:00
Colin Basnett
214f19ff8c
Fix for #47
...
This code had been refactored but not tested with the no-armature workflow
2023-09-05 23:35:39 -07:00
Colin Basnett
ea5d0c6ac2
Incremented version to 5.1.0
2023-08-26 12:18:45 -07:00
Colin Basnett
b13bcfee0a
Merge branch 'master' into feature-nla-track-sequence-5x
2023-08-26 12:18:20 -07:00
Colin Basnett
83e65687ac
Incremented version to 5.0.4
2023-08-25 17:40:30 -07:00
Colin Basnett
63fb6f7d09
Fixed a bug where it was not possible to export from markers
2023-08-25 16:58:15 -07:00
Colin Basnett
3de1f075dd
Minor clean-up
2023-08-25 16:56:59 -07:00
Colin Basnett
560ec8fecd
Fixed a bug where exported PSKs would always use the mesh data's material instead of the object's material
2023-08-18 18:22:16 -07:00
Colin Basnett
8c74987f5b
Added human readable errors when bone, material or sequence names cannot be encoded into the Windows-1252 code page
2023-08-18 18:20:29 -07:00
Colin Basnett
60c7f2125a
Fixed a bug with the previous commit.
2023-08-16 15:52:28 -07:00
Colin Basnett
07ccc8c650
Added sequence reversing functionality for timeline markers
2023-08-16 12:00:26 -07:00
Colin Basnett
5bbb1512e0
New features for handling FPS
...
* An action's export FPS is now stored in a property group instead of a loose custom property value.
* New options for handling FPS when importing sequences.
2023-08-16 02:38:07 -07:00
Colin Basnett
c4c00ca49e
Fixed a bug where exporting animations from NLA strip markers would result in corrupted animations
2023-08-15 15:26:44 -07:00
Colin Basnett
b6e5a13e5f
Fuxed a bug where it was not possible to export from markers
...
Stupid typo, thanks Python
2023-08-15 15:16:07 -07:00
Colin Basnett
d823af9526
Merge branch 'master' into feature-nla-track-sequence-5x
...
# Conflicts:
# io_scene_psk_psa/psa/export/operators.py
2023-08-14 23:18:01 -07:00
Colin Basnett
741357d0af
Incremented version to 5.0.3
2023-08-14 22:43:26 -07:00
Colin Basnett
fb2ab89766
Fixed a compatibility issue caused by the fix to #43
2023-08-14 22:42:59 -07:00
Colin Basnett
b20d19d072
Added NLA track sequence source option (reimplementation of feature-nla-track-sequence-source
branch).
...
This just needs a bit of time in the oven to test it out.
2023-08-11 02:09:16 -07:00
Colin Basnett
d0d6deb63c
Changed name of faces that couldn't be added to "invalid" faces instead of "degenerate" faces
...
This is because a face can still be rejected by being a duplicate, but it doesn't necessarily have to be degenerate (i.e., a line or point).
2023-08-10 23:38:56 -07:00
Colin Basnett
e9b09dc651
Incremented version to 5.0.2
2023-08-09 21:03:49 -07:00
Colin Basnett
ed89e78927
Fix #43 : Wedges can now address vertices with indices greater than 65535
2023-08-09 20:14:24 -07:00
Colin Basnett
9798415f75
Excluded the build files and script from the package
2023-08-04 17:03:40 -07:00
Colin Basnett
24b7bff3d8
Added a build script for easier packaging of the addon
2023-08-04 16:57:54 -07:00
Colin Basnett
73b967949d
Added progress reporting for PSA import
2023-08-04 16:44:14 -07:00
Colin Basnett
e750be474a
Fixed a bug where the action list would not be populated for PSA export if the armature had not had it's animation data initialized
2023-08-04 16:28:42 -07:00
Colin Basnett
972067860a
Fixed a bug where PSA exports would not work
2023-08-01 21:16:29 -07:00
Colin Basnett
95d72c23aa
Fix for error when importing PSKs
2023-07-30 00:06:41 -07:00
Colin Basnett
afe598f671
File structure/naming overhaul on the PSK importer and exporter
...
* Inverted to the option to "ignore bone name restrictions". It is now "Enforce Bone Name Restrictions" and it is off by default.
* Added option to filter out "reversed" sequences from the sequence list
2023-07-29 20:51:23 -07:00
Colin Basnett
782c210f04
Major refactoring pass on the PSA file structure & naming
2023-07-29 16:00:53 -07:00
Colin Basnett
25bf8f2087
Set the parent index of the root bone to 0
instead of -1
...
In normal UE2 derivates, it doesn't appear to matter what the parent index is; but in UE1 games that have basic support for PSK importing (i.e. Harry Potter 2), the parent index of the root bone must be `0` otherwise the import fails.
2023-07-28 03:18:05 -07:00
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