Commit graph

1739 commits

Author SHA1 Message Date
Moritz Brückner 2dd7407772 Fix parsing of transparent shader node 2020-10-10 20:27:19 +02:00
Moritz Brückner cf531856f7 Set vertex shader in world parser state 2020-10-10 20:26:39 +02:00
Moritz Brückner 3482878c22 Improve ParserState 2020-10-10 20:26:29 +02:00
Moritz Brückner 2f11b0c406 Further improve ParserState 2020-10-09 23:32:41 +02:00
Moritz Brückner 4f0316f076 cycles.py: move parents into ParserState 2020-10-09 21:15:21 +02:00
Moritz Brückner 2b45a3132b World shader: make procedural textures work 2020-10-09 19:46:20 +02:00
Moritz Brückner eed7329f57 Improve parsing oder 2020-10-09 19:46:06 +02:00
Moritz Brückner cc5513b9fc Cleanup whitespace 2020-10-09 19:45:40 +02:00
Moritz Brückner 968f687e5d Fix parser lookup 2020-10-09 19:43:54 +02:00
Moritz Brückner 23b9016f13 Fix node group handling 2020-10-09 19:24:55 +02:00
Moritz Brückner c6258894f1 Cleanup 2020-10-09 19:18:59 +02:00
Moritz Brückner ea5118dba9 cycles.py: Fix writing of normals 2020-10-09 19:18:44 +02:00
Moritz Brückner 51e2f10f02 Better error handling 2020-10-09 19:13:15 +02:00
Moritz Brückner 0279ed7669 Support for world shader nodes 2020-10-09 19:13:08 +02:00
Moritz Brückner 13cf5d12a5 Check for uniqueness when adding init statements to shader main() (+ indent) 2020-10-08 23:08:37 +02:00
Moritz Brückner 78d86515dc Fix parsing of hue-saturation node 2020-10-08 22:33:49 +02:00
Moritz Brückner a83189b0be Move basecol_only into ParserState 2020-10-08 21:19:52 +02:00
Moritz Brückner 75e73e09d6 Cleanup 2020-10-08 21:17:02 +02:00
Moritz Brückner c8bdd961f5 Make more use of the ParserState class 2020-10-08 21:03:14 +02:00
Moritz Brückner f8b3315c2d Move node parsing into subpackages part 3 2020-10-05 23:37:48 +02:00
Moritz Brückner 0d2740daa8 Move node parsing into subpackages part 2 2020-10-05 20:51:58 +02:00
Moritz Brückner cd63597fad Add ParserState class for better handling of cycles.py state 2020-10-05 20:42:59 +02:00
Moritz Brückner 4c917c59e9 cycles.py: more cleanup and add some comments 2020-10-05 01:59:49 +02:00
Moritz Brückner 2412a9b4cf cycles.py: further cleanup 2020-10-05 01:39:36 +02:00
Moritz Brückner 00e8952640 Fix parser function lookup 2020-10-05 01:39:23 +02:00
Moritz Brückner da8fca1b3b Move node parsing into subpackages part 1 2020-10-05 01:36:33 +02:00
Moritz Brückner a4cd48ec28 Add some typehints and docstrings 2020-10-05 01:27:36 +02:00
luboslenco da1cf33930 Bump version 2020-10-01 11:35:55 +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
Lubos Lenco a27bb06788
Merge pull request #1902 from MoritzBrueckner/fix-node-tooltips
Prevent exception when node has no bl_description attr and docstring
2020-10-01 11:32:02 +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
Henrique 8d7c3a0910 replace-inverse-by-invert 2020-09-30 12:00:18 -03:00
Henrique 95c537a934 undo-input-renames 2020-09-29 13:42:38 -03:00
Henrique 0ba0884b35 rename-ln-labels 2020-09-29 13:38:17 -03:00
Moritz Brückner bb139d96f9 Fix SubString node socket labels 2020-09-28 16:21:18 +02:00
Moritz Brückner 431630d42e Update node docstrings 2020-09-28 15:58:41 +02:00
Lubos Lenco dc515c97d0
Merge pull request #1891 from niacdoial/master
Further handling of node depreciation
2020-09-28 10:14:34 +02:00
niacdoial 580902e8df and one more typo for the road 2020-09-28 10:07:03 +02:00
Lubos Lenco 95cc79339a
Merge pull request #1893 from MoritzBrueckner/on-application-state
Add "On Application State" node
2020-09-27 20:36:54 +02:00
Lubos Lenco 7042797185
Merge pull request #1894 from MoritzBrueckner/node-register
Automatically register new nodes and categories from libraries
2020-09-27 20:36:03 +02:00
E1e5en 1fec2d1e20 Get System Name
Get System Name - to get the name of the system while the application is running.

Output parameters:
- System Name — displays the system name as a string;
- List systems for quick comparison.
2020-09-27 20:22:41 +03:00
niacdoial 482a340c77 (fixed a few typos and docstrings in relation to the previous commit) 2020-09-27 17:17:22 +02:00
Moritz Brückner 4e234c0f56 Automatically register new nodes and categories from libraries 2020-09-27 17:12:45 +02:00
Moritz Brückner f4c004c8ea Reorganize imports according to PEP8 2020-09-27 17:12:22 +02:00
Moritz Brückner b132d4b171 Add "On Application State" node 2020-09-27 16:57:21 +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
Lubos Lenco 9ad68b561a
Merge pull request #1888 from MoritzBrueckner/cwd_contextmanager
Implement context manager for safer cwd changing
2020-09-26 10:12:19 +02:00