From 418fbfe86ecad1eda48f9de1800e53d5dbc42721 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Mon, 1 Jan 2018 21:27:54 -0500 Subject: [PATCH] Fix oversights in fb244df --- korman/properties/modifiers/gui.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/korman/properties/modifiers/gui.py b/korman/properties/modifiers/gui.py index 398a1a6..cc42067 100644 --- a/korman/properties/modifiers/gui.py +++ b/korman/properties/modifiers/gui.py @@ -210,11 +210,11 @@ class PlasmaJournalBookModifier(PlasmaModifierProperties, PlasmaModifierLogicWiz guitype.link_output(journalnode, "pfm", "isNotebook") guitype.value = self.book_type == "bkNotebook" - width = nodes.new("PlasmaAttribNumericNode") + width = nodes.new("PlasmaAttribIntNode") width.link_output(journalnode, "pfm", "BookWidth") width.value_float = self.book_scale_w / 100.0 - height = nodes.new("PlasmaAttribNumericNode") + height = nodes.new("PlasmaAttribIntNode") height.link_output(journalnode, "pfm", "BookHeight") height.value_float = self.book_scale_h / 100.0 @@ -236,11 +236,11 @@ class PlasmaJournalBookModifier(PlasmaModifierProperties, PlasmaModifierLogicWiz start_open.link_output(journalnode, "pfm", "StartOpen") start_open.value = self.start_state == "OPEN" - width = nodes.new("PlasmaAttribNumericNode") + width = nodes.new("PlasmaAttribIntNode") width.link_output(journalnode, "pfm", "BookWidth") width.value_float = self.book_scale_w / 100.0 - height = nodes.new("PlasmaAttribNumericNode") + height = nodes.new("PlasmaAttribIntNode") height.link_output(journalnode, "pfm", "BookHeight") height.value_float = self.book_scale_h / 100.0