Browse Source

Remove Tint 2 activator

* Removes the (probably) unneeded activator for tint 2 since having the extra data won't hurt anything.
pull/349/head
Patrick Dulebohn 2 years ago
parent
commit
0e0f5b6ff2
  1. 5
      korman/properties/modifiers/logic.py
  2. 10
      korman/ui/modifiers/logic.py

5
korman/properties/modifiers/logic.py

@ -187,11 +187,6 @@ class PlasmaTakeClothing(PlasmaModifierProperties, PlasmaModifierLogicWiz):
subtype="COLOR", subtype="COLOR",
min=0.0, max=1.0, min=0.0, max=1.0,
default=(1.0, 1.0, 1.0)) default=(1.0, 1.0, 1.0))
clothing_tint2on = BoolProperty(name="Second Tint?",
description="Does the clothing item have a second tint color?",
default=False,
options=set())
options=set())
clothing_stayvis = BoolProperty(name="Stay Visible After Click?", clothing_stayvis = BoolProperty(name="Stay Visible After Click?",
description="Should the clothing stay visible after first clicking?", description="Should the clothing stay visible after first clicking?",
default=False, default=False,

10
korman/ui/modifiers/logic.py

@ -61,18 +61,14 @@ def clothing(modifier, layout, context):
layout.label(text="Default Clothing Color(s):") layout.label(text="Default Clothing Color(s):")
split = layout.split() split = layout.split()
col = split.column() col = split.column()
col.prop(modifier, "clothing_tint2on") col.prop(modifier, "clothing_tint1")
col = split.column() col = split.column()
col.prop(modifier, "clothing_hair") col.prop(modifier, "clothing_tint2")
split = layout.split() split = layout.split()
col = split.column() col = split.column()
col.prop(modifier, "clothing_tint1") col.prop(modifier, "clothing_hair")
col = split.column()
col.enabled = modifier.clothing_tint2on is True
col.prop(modifier, "clothing_tint2")
layout.separator() layout.separator()
layout.label(text="Visibility:") layout.label(text="Visibility:")

Loading…
Cancel
Save