Moritz Brückner
0120910f92
Improve handling of custom logic nodes
2020-11-01 01:20:27 +01:00
Moritz Brückner
1cebb0b0fd
Further improve handling of nodes/menu registration
2020-10-29 15:17:44 +01:00
Moritz Brückner
60ea88658c
Improve handling of deprecated nodes
2020-10-28 20:29:01 +01:00
Moritz Brückner
4b9e5d533d
Fix and improve registration of nodes
2020-10-27 19:44:37 +01:00
Moritz Brückner
8f7e99530c
Show node panels only when applicable
2020-10-11 00:24:11 +02:00
Lubos Lenco
4038a67385
Merge pull request #1903 from N8n5h/nodes-context-menu
...
Add 3 new context menu options for nodes to inspect source and wiki
2020-10-01 11:32:45 +02:00
N8n5h
63666ed731
Added a new operator and context menu option to open the wiki entry of a node
2020-09-30 17:42:35 -03:00
N8n5h
0dadfad886
remove remaining active_node's in implementation
2020-09-30 17:42:35 -03:00
N8n5h
ee2764b877
Add two context menu options for logic nodes
...
The two new context menu options will let the user inspect the source code
of the node. For the haxe source the existing operator was used (ArmOpenNodeSource),
but it was modified because I thought it made more sense to guess the version the user has based on their last commit instead of master.
for python __module__ was used to obtain the relative path.
The options were appended to the existing menu instead of being its own class because I couldn't find how to implement it that way without redrawing.
- Added a way to obtain the last commit in utils without git cli
2020-09-30 17:42:35 -03:00
Moritz Brückner
4fed9da646
Prevent exception when node has no bl_description attribute and no docstring
2020-09-30 21:04:06 +02:00
niacdoial
24313d65a4
Further handling of node depreciation
...
(Depreciated nodes are moved elsewhere in the files to diminish clutter)
Also fixed a couple bugs for the handling of node replacement.
2020-09-26 16:14:35 +02:00
Moritz Brückner
73d8fbd1d6
Add poll() function to AddNodeOverride operator
2020-09-15 01:25:42 +02:00
niacdoial
19064c60b5
populated a previously empty error message
2020-09-13 15:40:35 +02:00
niacdoial
bdc33cb419
added node versioning information to all node classes
2020-09-13 11:27:58 +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
3ea181fc37
Fix operator call
2020-09-09 20:30:49 +02:00
Moritz Brückner
179fdcf17c
Show bl_description or docstring when hovering over nodes in the menu
2020-09-09 00:25:10 +02:00
Moritz Brückner
bfa23a9d6a
Don't register internal nodes again
2020-09-08 17:03:56 +02:00
Moritz Brückner
2babf2f97b
Alphabeticallysort nodes in node sections
2020-09-07 20:36:30 +02:00
Moritz Brückner
a5a15e472b
Fix unregistering of categories
2020-09-07 01:26:31 +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
dfb0c566c7
Fix missing add node menu registering
2020-09-07 01:10:43 +02:00
Moritz Brückner
74efd5df80
Add custom node search operator
2020-09-07 00:54:52 +02:00
Moritz Brückner
16d8df73b2
Implement custom node menu
2020-09-07 00:40:54 +02:00
Moritz Brückner
6c43fb9289
Whitespace and other small cleanups
2020-09-07 00:08:51 +02:00
Simonrazer
fc0cce489b
remove unnecessary property
2020-07-25 20:49:41 +02:00
Simonrazer
06a6324002
typos
2020-07-25 15:13:44 +02:00
Simonrazer
66d7b1c954
Update nodes_logic.py
2020-07-25 15:09:22 +02:00
tong
a91cf665e7
Add missing import
2020-06-25 12:14:57 +02:00
Moritz Brückner
85a9340764
Add reroutes and frames to add node menu
2020-06-18 14:15:34 +02:00
luboslenco
410230b65f
Remove deprecated nodes
2019-09-06 18:48:21 +02:00
luboslenco
fc58db16af
Node search works now, remove custom one
2019-05-10 12:43:51 +02:00
luboslenco
d7cbc022e8
Replace nodes on project update
2019-05-01 11:04:15 +02:00
Yannik Böttcher
65148dfa67
added property mapping and mapping of unconnected inputs
2019-05-01 00:46:41 +02:00
Yannik Böttcher
6785d457b5
implement property mapping and realize armory uses the bl_idlabel for classnames
2019-05-01 00:25:48 +02:00
Yannik Böttcher
9db102fb5f
added deprecated versions of each replaced node, as blender forgets their bl_idname and "NodeUndefined" is not a useful id. Also added the replacement rules for the input nodes.
2019-04-30 17:07:57 +02:00
Yannik Böttcher
1781c99a55
added 1:1 auto replacement code
2019-04-29 13:14:32 +02:00
luboslenco
c9ef079452
New cache
2018-12-19 20:10:34 +01:00
luboslenco
e79ff975e9
Logic node search
2018-12-19 15:47:58 +01:00
luboslenco
a531b52b9f
UI style
2018-12-19 13:33:17 +01:00
luboslenco
a9d4e9c2ef
Begin b28 era
2018-12-18 23:48:38 +01:00
Zicklag
bec5dd9308
Sort Logic Node List Alphabetically
2018-10-29 12:14:33 -05: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
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
998dc60687
Material parameters support
2018-06-12 00:26:52 +02:00
Lubos Lenco
6c5e6e4809
Canvas Set Text logic node
2018-01-31 00:31:07 +01:00
Lubos Lenco
cb19f9d1d9
Array node category
2017-11-02 23:28:21 +01:00
Lubos Lenco
08ea9ab9f4
Proper input system
2017-04-10 21:17:17 +02:00