Colin Basnett
80aa65f771
Update main.yml
2024-06-08 16:41:03 -07:00
Colin Basnett
27548979d5
Create main.yml
2024-06-08 16:35:52 -07:00
Colin Basnett
aa9fdca6cc
Moved all the source files into a nested io_scene_psk_psa
folder in preparation for CI workflow
...
Also changed the license to GPLv3
2024-06-07 23:05:58 -07:00
Colin Basnett
5c83b8974a
Merge branch 'master' into blender-4.2
2024-06-06 23:53:05 -07:00
Colin Basnett
4d3630893e
Fixed capitalization for mix-in class
2024-06-06 23:52:25 -07:00
Colin Basnett
f664e7714b
Merge pull request #95 from Blaco/fix-psa-import-metaclass
...
Resolved metaclass conflict in PSA_UL_sequences
2024-06-06 19:23:32 -07:00
Taco
447687b588
Resolved metaclass conflict in PSA_UL_sequences
...
This was breaking the 'Add Theme Preset' button in Blender's preferences, this small change fixes that
2024-06-05 19:52:35 -04:00
Colin Basnett
8df7b4b141
Fixed not being able to properly run reload scripts on the addon
2024-05-31 18:52:33 -07:00
Colin Basnett
cab8338a69
Changed the name of the add-on to something simpler
2024-05-27 16:21:31 -07:00
Colin Basnett
9dcd3778e0
Selected non-mesh objects will now be ignored on PSK export instead of blocking the operator from being invoked
2024-05-27 16:03:18 -07:00
Colin Basnett
fdb74ef7d0
Moved things around for packaging on Blender extensions
2024-05-27 14:56:37 -07:00
Colin Basnett
a47b4a1e04
Fixed a bug where the compression ratio and key quotas were not being correctly evaluated on NLA track strip sources
2024-05-19 15:15:21 -07:00
Colin Basnett
0202263dea
Fixed a bug where using the animation override would not correctly populate the NLA Track Strips list
2024-05-19 14:31:14 -07:00
Colin Basnett
7df032f504
Pose markers that begin with a !
character now export only the first frame
...
Without this, it is impossible to export sequences as a single frame
using pose markers.
2024-04-07 12:30:23 -07:00
Colin Basnett
4c00771f53
Imported PSKs will now have the first UV layer named UVMap
instead of VTXW0000
...
This is because it caused issues for some folks when joining meshes made
in Blender and meshes imported from a PSK. There would be two UV maps,
and if the user wanted to make them share the same UVMap, they would
need to go out of their way to fix the naming of the UV layers to match.
2024-04-07 12:28:06 -07:00
Colin Basnett
c7b23e8c0d
The PSK export operator now uses the new Blender 4.1 panels instead of the layout boxes
2024-04-07 12:26:13 -07:00
Colin Basnett
d107a56007
Fixed duplicate code issue
2024-03-25 23:52:36 -07:00
Colin Basnett
a5bef57c8d
Merge branch 'master' into blender-4.1
...
# Conflicts:
# io_scene_psk_psa/psa/importer.py
2024-03-25 23:39:17 -07:00
Colin Basnett
44a55fc698
Fix for #83
...
Bones whose parents are not present in the PSA will now simply use the
actual armature parent bone instead of failing the look-up and treating
the bone as a root bone.
2024-03-25 20:20:33 -07:00
Colin Basnett
09cc9e5d51
Added PSA resampling
...
Fixed PSA import resampling logic
2024-03-25 02:57:32 -07:00
Colin Basnett
d92f2d77d2
Incremented version to 6.2.1
2024-03-25 02:11:13 -07:00
Colin Basnett
9c8b9d922b
Fix for issue where using case insensitive bone mapping would fail
...
Also made case-insensitive bone mapping the default for PSA import
2024-03-25 02:10:00 -07:00
Colin Basnett
20b072f87b
Fix for root bone being incorrectly oriented if it wasn't at the identity rotation in the bind pose
2024-03-25 02:08:51 -07:00
Colin Basnett
bd667d4833
Update README.md
2024-03-14 19:13:48 -07:00
Colin Basnett
fb02742381
Reorganizing & renaming some things for clarity and correctness
2024-03-14 19:08:32 -07:00
Colin Basnett
d4d46bea66
PSA import dialog now uses new Blender 4.1 UI panels
2024-03-14 19:06:29 -07:00
Colin Basnett
a93450eab9
Added PSA file handler
2024-03-14 19:06:03 -07:00
Colin Basnett
c65fdaa6a4
Fixing PEP warnings
2024-03-14 19:04:12 -07:00
Colin Basnett
6b8088225a
Fix for root bone being incorrectly oriented if it wasn't at the identity rotation in the bind pose
2024-03-14 18:55:28 -07:00
Colin Basnett
e27b078866
Now handling PSKX files in the PSK file handler
2024-03-14 18:53:53 -07:00
Colin Basnett
b67c734687
Merge branch 'master' into blender-4.1
2024-03-11 18:46:24 -07:00
Colin Basnett
226e403925
Fix for syntax error
2024-03-11 18:46:18 -07:00
Colin Basnett
d81477673b
Fixed a script reload issue
2024-03-02 13:15:48 -08:00
Colin Basnett
4d41f1af83
When exporting PSKs, armatures with no bones are now more sensibly handled
...
umodel, for some reason, exports some models with no bones. For
compatibility and convenience, an armature with no bones may as well not
exist, so we treat it as though it doesn't on export, and a single fake
root bone is added for maximum compatibility.
2024-03-01 15:14:37 -08:00
Colin Basnett
5d3c7cc570
Fixed PSA import resampling logic
2024-02-29 16:03:47 -08:00
Colin Basnett
15e2c6ccdd
Importing PSKs with poly flags now works
2024-02-29 00:32:42 -08:00
Colin Basnett
14116963bb
Incremented version to 6.2.0
2024-02-28 23:21:31 -08:00
Colin Basnett
ead1e3c793
Initial commit of UT99 poly flags
2024-02-28 00:51:33 -08:00
Colin Basnett
ce1a411200
Fix for issue #76
2024-02-17 23:01:42 -08:00
Colin Basnett
11bf205fe2
Added PSA resampling on import + some fixes for 4.1
2024-02-13 14:03:04 -08:00
Colin Basnett
f7bbe911ea
Removed use_auto_smooth
...again
2024-02-13 00:19:12 -08:00
Colin Basnett
8c49c8f34e
Merge branch 'master' into blender-4.1
2024-02-12 18:02:59 -08:00
Colin Basnett
82eaddf1cb
Increased max bone count to int32 limit
2024-02-12 11:06:52 -08:00
Colin Basnett
eb8cee6973
Markers with empty names are now ignored as export options
2024-02-06 13:29:34 -08:00
Colin Basnett
c2d7eecb4f
Minor naming changes and refactoring
2024-02-06 13:26:48 -08:00
Colin Basnett
44100a50f0
Added better handling for exporting meshes with negative scaling
...
The exporter now corrects the face normals of meshes with negative
scaling that would otherwise be inverted on export. The face orientation
should now always match what is seen in the viewport.
2024-02-06 13:19:45 -08:00
Colin Basnett
9125606bc4
Fix for issue #71
2024-02-02 12:28:45 -08:00
Colin Basnett
0a7804b5ab
Improved reporting of PSK import error when there is nothing selected to import
2024-01-27 00:42:51 -08:00
Colin Basnett
ced03afafe
Added "Scale" option for PSK import
2024-01-25 11:43:13 -08:00
Colin Basnett
9438a35cd1
Fixed a bug where any invalid faces would result in import failure if also importing vertex colors
2024-01-24 18:46:03 -08:00