Browse Source

Fix oversights in fb244df

pull/94/head v0.06
Adam Johnson 7 years ago
parent
commit
418fbfe86e
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 8
      korman/properties/modifiers/gui.py

8
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

Loading…
Cancel
Save