From 357bd8c2c3ce82926f88171f786825788df5357c Mon Sep 17 00:00:00 2001 From: Patrick Dulebohn Date: Tue, 28 Jun 2022 21:13:02 -0400 Subject: [PATCH] Adjust some conditions Make the new bool nodes actually work when selected --- korman/properties/modifiers/gui.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/korman/properties/modifiers/gui.py b/korman/properties/modifiers/gui.py index 2950226..c0ab5db 100644 --- a/korman/properties/modifiers/gui.py +++ b/korman/properties/modifiers/gui.py @@ -691,10 +691,12 @@ class PlasmaLinkingBookModifier(PlasmaModifierProperties, PlasmaModifierLogicWiz # Odds and Ends stamped = nodes.new("PlasmaAttribBoolNode") stamped.link_output(linkingnode, "pfm", "IsDRCStamped") - stamped.value = self.drc_stamp + if not self.drc_stamp: + stamped.value = False forcecam = nodes.new("PlasmaAttribBoolNode") forcecam.link_output(linkingnode, "pfm", "ForceThirdPerson") - forcecam.value = self.third_person + if self.third_person: + forcecam.value = True def sanity_check(self): if self.clickable is None: