Commit graph

55 commits

Author SHA1 Message Date
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
Lubos Lenco 9e6bbe2bd7 More call group fixes 2018-01-29 13:52:39 +01:00
Lubos Lenco 8bfc99c279 Properly import referenced node group 2018-01-29 12:17:14 +01:00
Lubos Lenco 21b3ebf0b3 Fix linked data usage in logic nodes 2017-12-04 13:22:09 +01:00
Lubos Lenco 00de597d19 New render path system 2017-11-22 21:17:36 +01:00
Lubos Lenco 42242b835d Python clean up 2017-11-20 14:32:36 +01:00
Lubos Lenco bd43bfdf90 Call Group logic node 2017-11-09 19:47:10 +01:00
Lubos Lenco 6a4a82b5aa Action name fix 2017-10-31 16:25:57 +01:00
Lubos Lenco ea4347e4d2 Logic nodes for action playback 2017-09-08 13:57:34 +02:00
Lubos Lenco 6a37920de6 Runtime logic builder 2017-09-04 00:21:31 +02:00
Lubos Lenco c411f3d166 Code patching 2017-07-02 20:48:19 +02:00
Lubos Lenco 9d9f39aeb4 New material bind system 2017-05-25 16:48:41 +02:00
Lubos Lenco 419b3a999c Improve filename handling 2017-05-13 17:17:43 +02:00
Lubos Lenco 5ab704852d Calibrate light 2017-05-06 00:22:15 +02:00
Lubos Lenco 795726b28b Logic fixes 2017-04-14 20:38:50 +02:00
Lubos Lenco 4cbeb3bbf8 Logic nodes round 4 2017-04-08 20:05:35 +02:00
Lubos Lenco 3478cf22e4 Logic nodes round 3 2017-04-08 00:34:45 +02:00