From 0e0f5b6ff274a2f960f4006a968bac154bd39120 Mon Sep 17 00:00:00 2001 From: Patrick Dulebohn Date: Thu, 3 Nov 2022 14:55:34 -0400 Subject: [PATCH] Remove Tint 2 activator * Removes the (probably) unneeded activator for tint 2 since having the extra data won't hurt anything. --- korman/properties/modifiers/logic.py | 5 ----- korman/ui/modifiers/logic.py | 10 +++------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/korman/properties/modifiers/logic.py b/korman/properties/modifiers/logic.py index a7fc776..f4322e2 100644 --- a/korman/properties/modifiers/logic.py +++ b/korman/properties/modifiers/logic.py @@ -187,11 +187,6 @@ class PlasmaTakeClothing(PlasmaModifierProperties, PlasmaModifierLogicWiz): subtype="COLOR", min=0.0, max=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?", description="Should the clothing stay visible after first clicking?", default=False, diff --git a/korman/ui/modifiers/logic.py b/korman/ui/modifiers/logic.py index b016bd2..56d9db5 100644 --- a/korman/ui/modifiers/logic.py +++ b/korman/ui/modifiers/logic.py @@ -61,18 +61,14 @@ def clothing(modifier, layout, context): layout.label(text="Default Clothing Color(s):") split = layout.split() col = split.column() - col.prop(modifier, "clothing_tint2on") + col.prop(modifier, "clothing_tint1") col = split.column() - col.prop(modifier, "clothing_hair") + col.prop(modifier, "clothing_tint2") split = layout.split() col = split.column() - col.prop(modifier, "clothing_tint1") - - col = split.column() - col.enabled = modifier.clothing_tint2on is True - col.prop(modifier, "clothing_tint2") + col.prop(modifier, "clothing_hair") layout.separator() layout.label(text="Visibility:")