Skip to content

Commit

Permalink
Adjust some conditions
Browse files Browse the repository at this point in the history
Make the new bool nodes actually work when selected
  • Loading branch information
DoobesURU committed Jun 29, 2022
1 parent 0ee6ab6 commit d8b2cdc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions korman/properties/modifiers/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,12 +689,14 @@ def _create_moul_nodes(self, clickable_object, nodes, linkingnode, age_name, clk
share.link_output(linkingnode, "hosts", "shareBookSeek")

# Odds and Ends
stamped = nodes.new("PlasmaAttribBoolNode")
stamped.link_output(linkingnode, "pfm", "IsDRCStamped")
stamped.value = self.drc_stamp
forcecam = nodes.new("PlasmaAttribBoolNode")
forcecam.link_output(linkingnode, "pfm", "ForceThirdPerson")
forcecam.value = self.third_person
if self.drc_stamp:
stamped = nodes.new("PlasmaAttribBoolNode")
stamped.link_output(linkingnode, "pfm", "IsDRCStamped")
stamped.value = True
if self.third_person:
forcecam = nodes.new("PlasmaAttribBoolNode")
forcecam.link_output(linkingnode, "pfm", "ForceThirdPerson")
forcecam.value = self.third_person

def sanity_check(self):
if self.clickable is None:
Expand Down

0 comments on commit d8b2cdc

Please sign in to comment.