Browse Source

ptAttribActivators MUST send notify messages

pull/23/head
Adam Johnson 9 years ago
parent
commit
75e2651cda
  1. 11
      korman/nodes/node_conditions.py
  2. 6
      korman/nodes/node_python.py

11
korman/nodes/node_conditions.py

@ -55,13 +55,10 @@ class PlasmaClickableNode(PlasmaNodeBase, bpy.types.Node):
])
output_sockets = OrderedDict([
("keyref", {
"text": "References",
"type": "PlasmaPythonReferenceNodeSocket",
}),
("satisfies", {
"text": "Satisfies",
"type": "PlasmaConditionSocket",
"valid_link_sockets": {"PlasmaConditionSocket", "PlasmaPythonFileNodeSocket"},
}),
])
@ -356,14 +353,10 @@ class PlasmaVolumeSensorNode(PlasmaNodeBase, bpy.types.Node):
])
output_sockets = OrderedDict([
("keyref", {
"text": "References",
"type": "PlasmaPythonReferenceNodeSocket",
"valid_link_nodes": {"PlasmaPythonFileNode"},
}),
("satisfies", {
"text": "Satisfies",
"type": "PlasmaConditionSocket",
"valid_link_sockets": {"PlasmaConditionSocket", "PlasmaPythonFileNodeSocket"},
}),
])

6
korman/nodes/node_python.py

@ -534,11 +534,11 @@ class PlasmaAttribTextureNode(PlasmaAttribNodeBase, bpy.types.Node):
_attrib_colors = {
"ptAttribActivator": (0.031, 0.110, 0.290, 1.0),
"ptAttribActivatorList": (0.451, 0.0, 0.263, 1.0),
"ptAttribActivator": (0.188, 0.086, 0.349, 1.0),
"ptAttribActivatorList": (0.188, 0.086, 0.349, 1.0),
"ptAttribBoolean": (0.71, 0.706, 0.655, 1.0),
"ptAttribExcludeRegion": (0.031, 0.110, 0.290, 1.0),
"ptAttribNamedActivator": (0.031, 0.110, 0.290, 1.0),
"ptAttribNamedActivator": (0.188, 0.086, 0.349, 1.0),
"ptAttribNamedResponder": (0.031, 0.110, 0.290, 1.0),
"ptAttribResponder": (0.031, 0.110, 0.290, 1.0),
"ptAttribResponderList": (0.031, 0.110, 0.290, 1.0),

Loading…
Cancel
Save