|
|
@ -142,10 +142,12 @@ class PlasmaSittingBehavior(idprops.IDPropObjectMixin, PlasmaModifierProperties, |
|
|
|
if self.sitting_camera is not None: |
|
|
|
if self.sitting_camera is not None: |
|
|
|
sittingpynode = self._create_python_file_node(tree, sitting_pfm["filename"], sitting_pfm["attribs"]) |
|
|
|
sittingpynode = self._create_python_file_node(tree, sitting_pfm["filename"], sitting_pfm["attribs"]) |
|
|
|
sittingmod.link_output(sittingpynode, "satisfies", "sitAct") |
|
|
|
sittingmod.link_output(sittingpynode, "satisfies", "sitAct") |
|
|
|
|
|
|
|
|
|
|
|
# Camera Object |
|
|
|
# Camera Object |
|
|
|
cameraobj = nodes.new("PlasmaAttribObjectNode") |
|
|
|
cameraobj = nodes.new("PlasmaAttribObjectNode") |
|
|
|
cameraobj.link_output(sittingnode, "pfm", "sitCam") |
|
|
|
cameraobj.link_output(sittingnode, "pfm", "sitCam") |
|
|
|
cameraobj.target_object = self.sitting_camera |
|
|
|
cameraobj.target_object = self.sitting_camera |
|
|
|
|
|
|
|
|
|
|
|
# Clickable |
|
|
|
# Clickable |
|
|
|
clickable = nodes.new("PlasmaClickableNode") |
|
|
|
clickable = nodes.new("PlasmaClickableNode") |
|
|
|
clickable.link_output(sittingmod, "satisfies", "condition") |
|
|
|
clickable.link_output(sittingmod, "satisfies", "condition") |
|
|
|