Commit graph

71 commits

Author SHA1 Message Date
niacdoial f892fdfd8a
Merge months of changes into 'newrotation' branch
(and homogeneised the contents of said branch in the process)
(plus a couple bugfixes, because what else)
2021-08-18 17:04:00 +02:00
Moritz Brückner c56a0c3a72 Fix accidental module reloading caused by name conflicts of global vars 2021-08-11 14:32:21 +02:00
Moritz Brückner ea8c13686c Implement basic addon reloading 2021-08-04 22:56:11 +02:00
Moritz Brückner bce14549ac Fix LN live patch when using multiple instances of the same logic tree 2021-07-26 00:02:54 +02:00
Moritz Brückner 549040fc09 Fix publishing with live patch enabled 2021-07-25 20:13:47 +02:00
Moritz Brückner 6050bceaf1 Fix nodes with "..._get" property names 2021-07-24 20:17:29 +02:00
Moritz Brückner aa21402221 Live patch: handle deletion of node links 2021-07-24 13:36:16 +02:00
Moritz Brückner 1edc7a9469 Live patch: support for adding nodes 2021-07-20 20:53:37 +02:00
Moritz Brückner bdee03873b Live patch: support for node duplication 2021-07-18 22:29:18 +02:00
niacdoial 9b1393ea41
Make rotation its own socket in logic nodes, add rotation-specific math node
(part 1: conversion code not developed)
2021-07-11 11:28:00 +02:00
Moritz Brückner 4387d774cc Live patch: add support for node property updates 2021-07-03 19:45:05 +02:00
Moritz Brückner 202138304a Live patch: add support for creating connections between nodes 2021-06-28 12:17:13 +02:00
Moritz Brückner 41657adb64 Cleanup 2021-01-17 00:23:19 +01:00
Moritz Brückner fb8a056394 Fix reroute socket indices 2021-01-17 00:23:02 +01:00
Moritz Brückner b03e15edba Add 'stream' option to Play Sound nodes 2020-12-13 22:53:36 +01:00
Moritz Brückner 863ec518f8 Set file encoding to utf-8 2020-10-18 17:50:35 +02:00
Moritz Brückner 5cd6c3d09f Fix export for sockets with no default value 2020-09-16 16:39:35 +02:00
Moritz Brückner 818c2242da Don't write 'None' into the generated logic tree code 2020-09-14 23:11:03 +02:00
Moritz Brückner e634fbf629 Fix export of String and Object sockets 2020-09-14 01:03:13 +02:00
niacdoial 3a2952ced8 Added node versioning
- changed the way custom node sockets are handled at several places
 - updated the `replaceAll` and `replace` functions used to perform node replacements
 - renamed and improved the NodeReplacement [new name] class, which represents a replacement task
 - added an arm_version property to all logic nodes, as well as a `get_replacement_node` method (to be overridden for each node)
 - added an option to declare a node as obselete in add_node()  (useful in order to have the node defined, but out of the menu)
 - added classes for UI popups linked to node updates, as well as an operator dedicated to said node update

Thanks to MoritzBrueckner for part of the ground work!
2020-09-12 18:15:53 +02:00
Moritz Brückner abf495bf2f Fix usage of custom socket types 2020-09-08 17:04:13 +02:00
Moritz Brückner 5429a56e7a Fix logic node export of None type properties 2020-09-03 18:49:23 +02:00
Moritz Brückner 4f5d8a83d3 Fix boolean node sockets 2020-06-11 22:51:38 +02:00
Moritz Brückner 740b84db41 Cleanup build_default_node() 2020-06-10 14:39:21 +02:00
Moritz Brückner 85411312d7 Implement custom default values for custom node sockets 2020-06-10 14:25:01 +02:00
Moritz Brückner 1dfc777f2b Add CustomSocket node socket type 2020-06-08 08:49:21 +02:00
Moritz Brückner 3cd6ab1331 Escape '"' in logic node strings 2020-06-07 20:02:07 +02:00
Moritz Brückner 9f4a0344fe Fix boolean type node properties 2020-05-15 23:22:04 +02:00
Moritz Brückner 351f908178 Print warning if logic node tree and generated trait names differ 2020-02-12 13:51:31 +01:00
Yannik Böttcher a1d2190147 fixed comments 2019-07-22 20:00:26 +02:00
Yannik Böttcher c395146bad further improve reroute handling and ensure a specific execution order. Also handle unlinked reroutes 2019-07-22 19:36:00 +02:00
Yannik Böttcher 89e78c77f6 Improve reroute handling in logic nodes 2019-07-21 20:52:52 +02:00
Zicklag 79d5c73cd2 Fix A Traceback When Building Node Trees 2019-01-21 14:53:39 -06:00
luboslenco f9f5bea108 Use PointerProperty for Play Sound node 2019-01-21 16:48:11 +01:00
luboslenco c9ef079452 New cache 2018-12-19 20:10:34 +01:00
luboslenco 6f1128ad3f Use trait props instead of parameters 2018-11-13 14:17:47 +01:00
Lubos Lenco 6c859bdb4d
Merge pull request #995 from katharostech/node-functions
Add Functions and Function Calls to Logic Nodes
2018-11-11 10:18:23 +01:00
luboslenco c850aa0e26 Show error when sockets do not match 2018-11-09 11:53:20 +01:00
Zicklag f00b72836b Add Functions and Function Calls to Logic Nodes
* Renamed Call Haxe node to Call Function because it will now be able
to call node functions as well.
 * Added ability to pass arguments to the Call Function node.
 * Created Function and Function output nodes that allow you to create
functions in node trees. Node functions can be called from other nodes
and from Haxe.
2018-11-04 09:00:38 -06:00
luboslenco cd71de5359 Material logic node handle linked material 2018-07-10 21:09:27 +02:00
luboslenco 1829261f1b Watch node tree name 2018-06-29 08:40:56 +02:00
luboslenco 050c5e7d8f Watch logic node value in debug console 2018-06-28 22:39:23 +02:00
luboslenco 439b668374 Link logic nodes using IDs 2018-06-15 00:30:40 +02:00
luboslenco 20722faa3f Array socket color 2018-06-12 23:16:28 +02:00
luboslenco 94d747c246 Print error on wrong logic node connection 2018-06-12 16:58:34 +02:00
unknown 7f728d78b2 Add 'Almost Equal' to Gate node 2018-06-01 18:33:52 +02:00
luboslenco 65dcb7f851 Minor 2018-04-16 00:24:44 +02:00
Jonathon Reach 3ddd05b90b Orphaned REROUTE nodes no longer fail to compile. Orphaned REROUTE has
no effect but can exist in the scene.
2018-04-15 17:27:11 -04:00
luboslenco 315e2884e6 Exporter fixes 2018-03-01 16:15:13 +01:00
luboslenco 54099bc2f7 Fix lower-case logic tree name 2018-02-28 10:15:36 +01:00