Browse Source

Fix using Sitting Behavior nodes as conditions.

pull/172/head
Adam Johnson 4 years ago
parent
commit
3f2d44379b
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 3
      korman/nodes/node_avatar.py

3
korman/nodes/node_avatar.py

@ -28,6 +28,8 @@ class PlasmaSittingBehaviorNode(PlasmaNodeBase, bpy.types.Node):
bl_label = "Sitting Behavior" bl_label = "Sitting Behavior"
bl_width_default = 120 bl_width_default = 120
pl_attrib = {"ptAttribActivator", "ptAttribActivatorList", "ptAttribNamedActivator"}
approach = EnumProperty(name="Approach", approach = EnumProperty(name="Approach",
description="Directions an avatar can approach the seat from", description="Directions an avatar can approach the seat from",
items=sitting_approach_flags, items=sitting_approach_flags,
@ -45,6 +47,7 @@ class PlasmaSittingBehaviorNode(PlasmaNodeBase, bpy.types.Node):
("satisfies", { ("satisfies", {
"text": "Satisfies", "text": "Satisfies",
"type": "PlasmaConditionSocket", "type": "PlasmaConditionSocket",
"valid_link_sockets": {"PlasmaConditionSocket", "PlasmaPythonFileNodeSocket"},
}), }),
]) ])

Loading…
Cancel
Save