Colin Basnett
d61f1cefd1
Improved reporting for PSA drag & drop operator
2025-01-17 15:05:54 -08:00
Colin Basnett
fffecd8c7f
Added script-only bpy.ops.psa.import_all
operator so that users can automate PSA imports
...
Previously this was not really possible because the PSA import operator
was interactive and required the sequence name list to be populated.
This new operator simply imports everything from the PSA.
2025-01-17 14:53:59 -08:00
Colin Basnett
fec1a286ef
Major overhaul to Python operator paths
...
Also started using mixin classes instead of ugly class annotation
ammendments. Various other clean-up items as well including using
generators where appropriate instead of returning full lists etc.
All the Python facing operators are now within `bpy.ops.psk` and
`bpy.ops.psa`. Before, they were scattered in a bunch of different
places because I wasn't really paying attention to consistency.
2025-01-17 14:52:31 -08:00
Colin Basnett
2b41815545
Fixed issue where parented bone collections would not be selectable in the bone collection list
2025-01-13 12:05:38 -08:00
Colin Basnett
a83314c8b3
Fixed bug when bone collections would not be visible on the collection exporter
2025-01-13 12:03:26 -08:00
Colin Basnett
f8234b3892
Added cross-version compatibility for is_action_for_armature
function
2025-01-13 12:02:13 -08:00
Colin Basnett
35ac0bf86c
Added sampling mode and changed the default sampling mode to be "Interpolated" rather than "Subframe"
2025-01-05 18:22:03 -08:00
Colin Basnett
515ee17203
Added the ability to define a custom compression ratio for PSA export
2025-01-05 15:43:11 -08:00
Colin Basnett
0a5ebf4548
Fixed dependency issue in automation script
2024-12-31 00:23:03 -08:00
Colin Basnett
de1cf2316a
Incremented version to 8.0.0
2024-12-31 00:21:08 -08:00
Colin Basnett
c1d5a2229d
Unified handling of translating bpy PSK options to the options passed into the build function
...
Also fixed a bug where the normal export operator was exporting duplicate objects
2024-12-27 14:59:22 -08:00
Colin Basnett
ff5ded004a
Fix for error if any selected armatures had no actions or animation data when exporting PSAs
2024-12-10 02:52:25 -08:00
Colin Basnett
ea2ecc6a5a
Removed debugging line
2024-12-09 00:06:35 -08:00
Colin Basnett
ef559d9475
Added an export list to the PSA export dialog for active actions
2024-12-08 14:43:37 -08:00
Colin Basnett
491e042cec
Added a number of new features:
...
* Added "Active Action" as the sequence type, allowing the user to
select multiple armatures with the same data block and export an
action for each one.
* Added a "Scale" option for PSA export when exporting animations
for an armature that had been scaled on export.
* You are now able to export meshes without materials.
2024-12-08 03:01:23 -08:00
Colin Basnett
9b0df1c942
Fixed Blender 4.3 compatiblity error
2024-12-04 18:50:49 -08:00
Colin Basnett
79ea131f64
Removed should_enforce_bone_name_restrictions
option as it was too fiddly and not all that useful
2024-11-29 20:37:24 -08:00
Colin Basnett
77dc4e5d50
Added the ability to filter bone collections from PSK collection exporter
2024-11-29 19:26:23 -08:00
Colin Basnett
526df424e3
Added "Export Space" option to allow exporting in armature space
...
Armature space exporting means that the user doesn't need to manually
move the armature back to origin before exporting, since it was simply
using world-space exporting before.
Also moved all DFS functions into their own file & cleaned up the
usage interface. Added `is_visible` and `is_selected` properties
for better ergonomics.
2024-11-29 15:42:42 -08:00
Colin Basnett
ed42b2e227
Added handling for exporting instance collections
2024-11-27 00:57:55 -08:00
Colin Basnett
42a859e24b
Added scale factor to PSK export
...
Also a load of cleanup I don't have time to catalog
2024-11-26 04:52:28 -08:00
Colin Basnett
e791859217
Fix #114 : Fixed typing error that caused multiple PSA import to fail
2024-11-25 18:17:49 -08:00
Colin Basnett
0dba7bb262
Incremented version to 7.1.3
7.1.3
2024-11-03 17:56:43 -08:00
Colin Basnett
77cc97107e
Fix #113 : is_bdk_addon_loaded
now actually works correctly
...
This was causing an error for some people because of the bizarre
behavior around `getattr` and `setattr` in `bpy.ops` always reporting
that the BDK was installed.
2024-11-03 17:56:13 -08:00
Colin Basnett
1f2ec4c76b
Fixed a bug where 0 frames could be output for a sequence if the compression ratio was less than 1.0
2024-10-01 20:35:12 -07:00
Colin Basnett
ff74f47178
Implemented multiple PSA import ( #55 )
...
This can be invoked by drag-and-dropping multiple PSA files onto the
Blender viewport when you have the target armature selected
7.1.2
2024-09-09 17:07:36 -07:00
Colin Basnett
bdd35ef61d
Incremented version to v7.1.2
2024-09-09 16:30:01 -07:00
Colin Basnett
1c4967bd67
Fixed is_bdk_addon_loaded
function
2024-09-09 16:29:20 -07:00
Colin Basnett
b5dba35ac4
Implemented feature requested in #87
2024-09-09 16:25:29 -07:00
Colin Basnett
7cc5cbe667
Added Visible Only
option to the PSK collection exporter
2024-09-09 15:59:13 -07:00
Colin Basnett
e1f0fc7e89
Fix #101 : Dashes in the names of PSA config keys results in parsing errors
...
The issue here was the regex pattern was too restrictive, so it did not
pick up the lines as ones that needed to have the `=` appended at the
end so that the ConfigParser could properly parse the file.
2024-08-07 23:36:48 -07:00
Colin Basnett
03c69783b3
Updated workflow file to be targetted against the stable version of 4.2
7.1.1
2024-07-31 19:16:00 -07:00
Colin Basnett
da4960298b
Incremented version to 7.1.1
2024-07-31 19:09:49 -07:00
Colin Basnett
a9706d88a5
Vertices without explicit weights are now weighted to the root bone
...
There is an issue in some older versions of Unreal (e.g. Postal), where
the engine does not handle vertices without explicit weighting,
resulting in corrupted meshes. This now mitigates the issue.
Thank you to makabray for reporting this issue.
2024-07-31 19:09:22 -07:00
Colin Basnett
9dd02260d5
Replaced __doc__
with bl_description
2024-07-31 19:01:48 -07:00
Colin Basnett
e79af9e8e3
Attempted fix for no-weight issue
2024-07-26 00:58:40 -07:00
Colin Basnett
10a25dc036
Added support for collection exporters
2024-07-17 01:38:32 -07:00
Colin Basnett
14f5b0424c
Fixed README link to VTXNORMS UE Viewer PR
2024-07-10 01:34:24 -07:00
Colin Basnett
d26d195a85
PSA export dialog now uses inline panels
2024-07-10 01:30:45 -07:00
Colin Basnett
02913f6922
Updated README in preparation for Blender 4.2 release
2024-07-10 00:59:12 -07:00
Colin Basnett
5cfb37d1a2
Updated BDK repository support to match bdk_addon
2024-06-22 23:44:43 -07:00
Colin Basnett
3863e4edcc
Removed MIT license file
7.1.0
2024-06-10 20:56:48 -07:00
Colin Basnett
e77ed7cc8d
Merge branch 'master' of https://github.com/DarklightGames/io_scene_psk_psa
2024-06-10 14:04:04 -07:00
Colin Basnett
87eff06f71
Changed name of the addon to Unreal PSK/PSA (.psk/.psa)
(short and sweet)
...
Also added missing `files` permission
2024-06-10 14:03:55 -07:00
Colin Basnett
1a8bd66503
Update README.md
2024-06-10 13:52:38 -07:00
Colin Basnett
143e7af36b
Update main.yml
2024-06-10 13:47:23 -07:00
Colin Basnett
6b46cb257d
Update main.yml
2024-06-10 12:13:11 -07:00
Colin Basnett
1c98790cfe
Update main.yml
2024-06-10 12:02:36 -07:00
Colin Basnett
3fbef00edc
Update main.yml
2024-06-09 17:52:31 -07:00
Colin Basnett
4279338574
Update main.yml
2024-06-09 17:47:24 -07:00