Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/make code dry #86

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
c1d21e9
prepared vec3 nodes mixin
Teck-Freak Aug 12, 2023
e445eb6
vec3 socket mixin now uses floatvector and emulates the old props
Teck-Freak Aug 12, 2023
142b4fd
prepared vec2 nodes mixin
Teck-Freak Aug 12, 2023
f208b3f
combined vec3 and vec2 socket mixins to shared base
Teck-Freak Aug 12, 2023
d08eb79
added author
Teck-Freak Aug 12, 2023
d9a2b72
merging refactor/sockets_use_vectors into master
Teck-Freak Aug 12, 2023
c03581d
Let NLSocket-Mixin handle draw_color by default
Teck-Freak Aug 12, 2023
9ab9320
Extracted mixin for Object-Sockets
Teck-Freak Aug 12, 2023
771eec8
Extracted mixin for Nodes setting a socket-value in a different NodeTree
Teck-Freak Aug 13, 2023
9801589
NLSetMaterialNodeValue now too uses the _NLActionNode_SetNodeSocketVa…
Teck-Freak Aug 13, 2023
be21e40
Extracted baseclass for Nodes setting a node attribute-value in a dif…
Teck-Freak Aug 13, 2023
420ab70
Extracted baseclass for Nodes getting a node socket value from a diff…
Teck-Freak Aug 13, 2023
1b8c999
Sorted _NLParameterNode_GetNodeSocketValue Nodes
Teck-Freak Aug 13, 2023
857d69a
Extracted baseclass for Nodes getting a node attribute-value in a dif…
Teck-Freak Aug 13, 2023
2bf07a4
Extracted mixin for sockets referencing Nodes in a different NodeTree
Teck-Freak Aug 13, 2023
8bf0c21
minor cleanup in draw-functions for sockets
Teck-Freak Aug 13, 2023
d65b14c
Sockets showing a single property use new @simple_draw decorator if p…
Teck-Freak Aug 13, 2023
5e329b3
Extracted two baseclasses for saving/loading Variables or Game to/fro…
Teck-Freak Aug 14, 2023
7bfc7cb
Sorted _NLActionNode_Storage nodes (saving/loading variables and save…
Teck-Freak Aug 14, 2023
f644df3
Extracted baseclass for (optional) ValueField sockets
Teck-Freak Aug 14, 2023
357909c
Sorted & described (optional) ValueField sockets
Teck-Freak Aug 14, 2023
3220be0
Extracted baseclass for nodes on vehicular driving interactions (Acce…
Teck-Freak Aug 14, 2023
9ec3d49
Extracted baseclass for nodes setting a bone-constraints target/influ…
Teck-Freak Aug 14, 2023
a2b0520
Extracted mixin for nodes that interact with (local) transforms
Teck-Freak Aug 15, 2023
315bbdd
NOTE: nodes interacting with (local) transforms define simmilar socke…
Teck-Freak Aug 15, 2023
6d60d10
Extracted mixin for 'EEVEE-Effects'-nodes
Teck-Freak Aug 15, 2023
43be48f
Extracted mixin for 'simple value input'-nodes: _NodeMixin_ULSimpleValue
Teck-Freak Aug 15, 2023
bcbf4e6
BUGFIX: 2D-vectors need 2D-defaults & _NLActionNode_Storage:draw-help…
Teck-Freak Aug 15, 2023
b5d654c
removed some superflouos default values
Teck-Freak Aug 15, 2023
1ef7d70
Minor cleanups on draw-functions with prop_search. Note how there's a…
Teck-Freak Aug 15, 2023
3123c30
Extracted Decorator for nodes handling (Game-)Object-properties
Teck-Freak Aug 16, 2023
2bc49c6
Extracted Decorator for nodes handling pulsed inputs, be it mouse, ke…
Teck-Freak Aug 16, 2023
32f9be6
Extracted base of Math-Range nodes
Teck-Freak Aug 16, 2023
4cd7d12
Minor cleanup on enumitems: WTH are there enum-keys that are numbers …
Teck-Freak Aug 16, 2023
15d996b
Minor cleanups for filters
Teck-Freak Aug 16, 2023
44d1e09
Cleanups on sockets draw-functions (without changing the appearance)
Teck-Freak Aug 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"description": (
"A Node System to create game logic."
),
"author": "pgi, Leopold A-C (Iza Zed)",
"author": "pgi, Leopold A-C (Iza Zed), Teck-Freak / Lucyon Oak",
"version": (2, 3),
"blender": (3, 6, 0),
"location": "View Menu",
Expand Down
Loading