Moritz Brückner
98fccc445a
Fix naming of dynamic sockets
2020-09-14 23:20:19 +02:00
niacdoial
28722ee866
Fixed one bug/exploit waiting to happen
...
(and removed a debug print)
2020-09-13 15:32:39 +02:00
niacdoial
cd730249af
Merge branch 'node-versioning' into logic-nodes
2020-09-12 18:29:28 +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
fccd83bf14
Rename MODULE_AS_CATEGORY -> PKG_AS_CATEGORY
2020-09-09 20:48:35 +02:00
Moritz Brückner
39fc1f3cad
Remove unused imports
2020-09-08 23:21:41 +02:00
Moritz Brückner
8e6c8031b0
Use new sockets for variable nodes
2020-09-08 22:08:29 +02:00
Moritz Brückner
d83cdc4f33
Add custom add input/output functions and denote variable socket functionality
2020-09-08 21:34:05 +02:00
Moritz Brückner
727c2d9f35
Make ArmLogicTreeNode a subclass of bpy.types.Node
2020-09-08 21:16:20 +02:00
Moritz Brückner
6168f68dd0
Don't hardcode the position of the 'default' node section
2020-09-08 01:26:41 +02:00
Moritz Brückner
2babf2f97b
Alphabeticallysort nodes in node sections
2020-09-07 20:36:30 +02:00
Moritz Brückner
b31c151cf3
Add possibility to use the module name as the node category
2020-09-07 19:15:39 +02:00
Moritz Brückner
430053bfb2
Remove unused debug print
2020-09-07 19:15:07 +02:00
Moritz Brückner
14bd60d3f4
Fix docstring format
2020-09-07 01:15:12 +02:00
Moritz Brückner
b248f2c8e8
Move socket classes to own module and remove now obsolete eye drop operator
2020-09-07 01:13:00 +02:00
Moritz Brückner
74efd5df80
Add custom node search operator
2020-09-07 00:54:52 +02:00
Moritz Brückner
05c0a201ad
Fix missing import
2020-09-07 00:33:46 +02:00
Moritz Brückner
f8376e877f
Fix register_node() for internal nodes
2020-09-07 00:33:31 +02:00
Moritz Brückner
153594985b
Rename node_class -> node_type
2020-09-07 00:33:16 +02:00
Moritz Brückner
07817fed54
Add new node/category API
2020-09-07 00:06:41 +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
Sandy
47f5b4b78e
Fixed issue reported in Armory Forum
...
http://forums.armory3d.org/t/helper-text-in-logic-nodes/3673
2019-11-05 21:59:51 +09:00
luboslenco
6871ea29fb
Deprecated cleanup
2019-08-27 21:42:00 +02:00
luboslenco
c6a26a0dad
Use PointerProperty to prevent whitespace issues
2019-02-08 12:50:12 +01:00
luboslenco
a9d4e9c2ef
Begin b28 era
2018-12-18 23:48:38 +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
Zicklag
6b47edcf84
Allow Arbitrary Category Names for Nodes
...
Logic node categories are now created dynamically. This allows nodes
be added to any arbitrarily named categories without having to maintain
a global category list. This is useful because it allows custom logic
nodes to be added to custom categories.
2018-10-28 20:50:25 -05:00
BlackGoku36
9ddedf6647
Array node colour change
...
Change the node colour of array to orange
2018-10-02 11:08:25 +05:30
luboslenco
148294ded9
More b28 fixes
2018-09-05 10:20:02 +02:00
Devin Curry
509569fafe
SwitchNode
2018-08-11 23:42:39 -07:00
luboslenco
1a7d72c3e1
Array Add multiple values
2018-06-12 23:48:01 +02:00
luboslenco
20722faa3f
Array socket color
2018-06-12 23:16:28 +02:00
Devin Curry
ee27ff63ba
Gate node can add/remove more inputs when on 'And' or 'Or'
2018-02-25 18:43:06 -08:00
Lubos Lenco
6c5e6e4809
Canvas Set Text logic node
2018-01-31 00:31:07 +01:00
Lubos Lenco
034a832bf9
Improve object and action socket parse
2017-12-06 12:36:39 +01:00
Lubos Lenco
21b3ebf0b3
Fix linked data usage in logic nodes
2017-12-04 13:22:09 +01:00
Lubos Lenco
cb19f9d1d9
Array node category
2017-11-02 23:28:21 +01:00
Lubos Lenco
ea4347e4d2
Logic nodes for action playback
2017-09-08 13:57:34 +02:00
Lubos Lenco
5e736a615f
Logic fixes, primitive events
2017-04-16 14:46:35 +02:00
Lubos Lenco
e02e012eec
More logic control
2017-04-11 11:28:22 +02:00
Lubos Lenco
08ea9ab9f4
Proper input system
2017-04-10 21:17:17 +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
Lubos Lenco
ac7bfb1b8e
Logic nodes round 2
2017-04-04 23:11:31 +02:00
Lubos Lenco
1ad5eb0b79
Logic nodes round 1
2017-04-03 22:29:46 +02:00
Lubos Lenco
0fc938911c
Move py sources to arm package
2017-03-15 12:30:14 +01:00