Browse Source

Changed some stuff from the code review

pull/400/head
1Codealot 1 year ago committed by Adam Johnson
parent
commit
8c2a8f3445
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 7
      korman/nodes/node_responder.py
  2. 1
      korman/nodes/node_softvolume.py

7
korman/nodes/node_responder.py

@ -68,9 +68,9 @@ class PlasmaResponderNode(PlasmaVersionedNode, bpy.types.Node):
"spawn_empty": True, "spawn_empty": True,
}, },
# This version of the states socket has been deprecated. # This version of the states socket has been deprecated.
# We need to be able to track 1 socket -> 1 state to manage # We need to be able to track 1 socket -> 1 state to manage
# responder state IDs # responder state IDs
"states": { "states": {
"text": "States", "text": "States",
"type": "PlasmaRespStateSocket", "type": "PlasmaRespStateSocket",
@ -241,6 +241,7 @@ class PlasmaResponderStateNode(PlasmaNodeBase, bpy.types.Node):
} }
output_sockets = { output_sockets = {
# This socket has been deprecated.
# While this is deprecated I might aswell also convert it. # While this is deprecated I might aswell also convert it.
"cmds": { "cmds": {
"text": "Commands", "text": "Commands",

1
korman/nodes/node_softvolume.py

@ -109,6 +109,7 @@ class PlasmaSoftVolumeInvertNode(PlasmaNodeBase, bpy.types.Node):
bl_idname = "PlasmaSoftVolumeInvertNode" bl_idname = "PlasmaSoftVolumeInvertNode"
bl_label = "Soft Volume Invert" bl_label = "Soft Volume Invert"
# The only difference between this and PlasmaSoftVolumeLinkNode is this can only have ONE input
input_sockets: dict[str, dict[str, str]] = { input_sockets: dict[str, dict[str, str]] = {
"properties": { "properties": {
"text": "Properties", "text": "Properties",

Loading…
Cancel
Save