4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-13 18:17:38 -04:00
Commit Graph

1093 Commits

Author SHA1 Message Date
7b5eb4f389 Fix "Compose Geometry" out of range progress steps
I like it when we're on step 13 of 7... :D
2018-09-02 21:35:51 -04:00
2b48c6dcc2 Replace a slow string search with isinstance 2018-09-02 21:34:42 -04:00
688407dc82 Ensure the export always has an active_object
Some operators, namely the bake operator, require there to be an
active_object. The lightmap operator manages the selection, so this only
fixes Blender whining about the context being incorrect due to a
technicality.
v0.07
2018-08-31 21:20:12 -04:00
1325a2ad5a Fix game tracker exporting for incorrect versions 2018-08-31 20:23:15 -04:00
1e3f3faa0d Fix potential UnboundLocalError in texture export 2018-08-28 21:36:38 -04:00
dfeb0114de Optimize lightmap dict access 2018-08-28 21:36:20 -04:00
2ebf872fda Check for valid types in add_object 2018-08-28 21:08:14 -04:00
327cf1b5ad Fix spurious responder wait generation
Pull request #114 was causing messages that could wait but had no child
messages to always have waits generated for them. This was causing some
responder states to never be marked completed. This ensures only
messages that need to be waited on have waits generated for them.

Messages that must be waited on include:
- the last waitable message if the responder is attatched to a PFM
- the last waitable message if it's the last message in the state
- any waitable message that has a child message
2018-08-28 20:17:53 -04:00
9a875d262b Merge pull request #115 from Deledrius/plImageLibMod
Add plImageLibMods.
2018-08-28 19:25:15 -04:00
eb75794996 Add plImageLibMods. 2018-08-28 15:35:35 -07:00
0fd9c5cf63 Merge pull request #114 from Hoikas/pfm-resp
Fix responder nodes not notifying python nodes
2018-08-25 21:12:15 -04:00
10b65e9ab9 Merge pull request #105 from Hoikas/cameras
Cameras
2018-08-25 20:51:58 -04:00
97305ee3e9 Clarify camera transitions/cutting
What was previously marked as transition cuts would really only cut goal
and POA tracking. Transition cutting requires the addition of a
transition ovveride. The engine supports cutting transitions on
plCameraMsg receipt by the virtual camera. The option looked sloppy on
regions (and should probably be controlled in the transitions), but it
has been added to camera message nodes for more control.
2018-08-25 20:51:32 -04:00
c91eb32939 Nuke auto circle camera
Tey're probably just a disaster waiting to happen. If you want a circle
camera, that's sufficiently advanced to require a new camera object.
Auto cameras are just a dumb helper.
2018-08-25 20:51:32 -04:00
e2b931fe9e Add Camera Message node 2018-08-25 20:51:32 -04:00
0f26deb65e Camera transition overrides 2018-08-25 20:51:32 -04:00
1ca9456870 Rework camera UI to not be so monolithic 2018-08-25 20:51:32 -04:00
02eb0e71fc Fix some camera bugs due to code shuffling 2018-08-25 20:51:32 -04:00
e21b8d7032 Rail Cameras 2018-08-25 20:51:32 -04:00
c656b0e51a Camera transform and FOV animations 2018-08-25 20:51:32 -04:00
de23d77649 Implement Circle Cameras
This includes circle cameras of the manual and auto-region variety
2018-08-25 20:51:32 -04:00
03746ed681 Fix responder nodes not notifying python nodes
In order for a python script to be notified that a responder attribute
has finished executing, we have to have a callback notify message in the
responder state. Cyan seems to require the artist to do this by hand,
but that seems like such a common operation that we'll add a callback at
the end of every state of any responder linked to a Python node. Cyan's
approach is somewhat more flexible in that you can call back at any
point in the responder, but that seems a bit excessive.
2018-08-25 20:33:26 -04:00
6b3d79a6a1 Merge pull request #103 from Hoikas/image-re
Fix #76
2018-08-25 18:51:36 -04:00
a071dff261 Merge pull request #107 from Hoikas/resp-nodes
Responder State IDs
2018-08-25 18:44:51 -04:00
34403a9720 Fix odd traceback on NodeLinks to invalid sockets
Observed in GoMePubNew blend. I'm assuming this is an old link that was
made to a socket that has since been removed from a node...
2018-08-25 17:31:03 -04:00
2a3a9c59d2 Fix exporting unsaved blends
This would only trigger if the blend file both
- is not saved
- has no valid age name
2018-08-25 17:30:54 -04:00
07e73f7792 Fix export crash introduced by #110
If there were no lightmapping passes, the `max()` call would raise a
ValueError.
2018-08-25 17:30:38 -04:00
f1d36da92a Merge pull request #113 from Deledrius/volsens_typos
Fix Volume Sensor typos.
2018-08-23 23:36:09 -04:00
bae8ad28d1 Fix Volume Sensor typos. 2018-08-23 20:33:25 -07:00
9f99e1974d Update footstep regions for respv2 2018-08-23 21:32:47 -04:00
9ac032ec07 Merge pull request #110 from Hoikas/lightmap-fixes
Fix #108
2018-08-22 19:53:23 -04:00
a7c6a3d07f Merge pull request #112 from Hoikas/page-version
Allow version specific pages
2018-08-21 08:24:01 -04:00
731e65d1c2 Allow version specific pages
This allows the artist to set specific export versions for PRPs,
enabling game version specific age features.
2018-08-20 21:49:34 -04:00
c4d26432ef Merge pull request #109 from Hoikas/export-scene
Fix #106
2018-08-20 16:40:42 -04:00
90a3a97705 Fix #108 2018-08-18 22:03:42 -04:00
5f671fb8e4 Add warning message about small lightmap passes
Each lightmap pass triggers a scene update... a slow, single-threaded
operation.
2018-08-18 21:45:31 -04:00
803f0dd62d Fix #106
Given that the Plasma World (read: age) is defined per scene, it seems
appropriate to limit the export to the current scene. Other scenes could
potentially have other age definitions...
2018-08-18 20:24:59 -04:00
da30e3f0c7 Implement basic cameras
This implments basic follow and fixed cameras. Currently, animating
cameras and/or their field of view are/is not supported.
2018-08-18 20:13:15 -04:00
93c5963b3a Fix pykorlib import issues 2018-08-18 20:12:44 -04:00
32dac5472f Responder Nodes v2
This introduces the ability to version nodes. Responders have been
bumped to version 2. The difference is that v2 responder nodes maintain
a list (hopefully) all responder states on the responder itself. Each
state has its own socket and displays its index for usage in python
scripts. For better predictability, any states that are only linked to
another state's gotostate socket will be exported at the end of the
state list.
2018-08-18 19:50:49 -04:00
fb1888a5fc Fix profile data saving 2018-08-16 21:33:06 -04:00
9601d6e28b Optimize find_key by using a hash map 2018-08-16 19:32:03 -04:00
77c1f7f230 Fix crash in dynatext python nodes 2018-08-16 16:15:38 -04:00
1200979322 Fix duplicate DSpan exports
Arbitrary data from a material's layer flags were able to creep into a
DSpan's criteria, causing geometry that should go into the same span to
spawn a new DSpan with an identical name. Only one of the DSpan objects
would be exported, and Uru would either show crazy stuff or crash as a
result.
2018-08-15 21:49:03 -04:00
f87a9b9efe Maintain the current selection after exporting 2018-08-13 20:08:44 -04:00
74cd0bd541 Merge pull request #104 from Hoikas/list-ui
Fix #22
2018-08-13 17:58:17 -04:00
25e8a82875 Convert all modifier lists to ui_list
The world lists (pages and games) require special operators, so it seems
best to just leave them as they are for now.
2018-08-12 21:13:53 -04:00
f8aafcf3f1 Implement standard UI List draw function
Same as before, only doing Textures right now.
2018-08-12 19:48:11 -04:00
1f37fae4a9 Implement generic list add/remove operators
Currently, this only takes the place of the texture operators. Once the
generic UI code is done, this will be propagated throughout.
2018-08-12 19:22:34 -04:00
554cb31bae Fix #76
On the surface, this allows lightmaps to be exported as PNGs. However,
it also includes a light refactor of image exporting to facilitate
requesting export formats and the targeting of plImageLibMod. This
should better enable #96.
2018-08-05 19:42:48 -04:00