Skip to content

Commit a9085a9

Browse files
committed
Remove Tint 2 activator
* Removes the (probably) unneeded activator for tint 2 since having the extra data won't hurt anything.
1 parent a4e494b commit a9085a9

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

korman/properties/modifiers/logic.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,6 @@ class PlasmaTakeClothing(PlasmaModifierProperties, PlasmaModifierLogicWiz):
187187
subtype="COLOR",
188188
min=0.0, max=1.0,
189189
default=(1.0, 1.0, 1.0))
190-
clothing_tint2on = BoolProperty(name="Second Tint?",
191-
description="Does the clothing item have a second tint color?",
192-
default=False,
193-
options=set())
194-
options=set())
195190
clothing_stayvis = BoolProperty(name="Stay Visible After Click?",
196191
description="Should the clothing stay visible after first clicking?",
197192
default=False,

korman/ui/modifiers/logic.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,14 @@ def clothing(modifier, layout, context):
6161
layout.label(text="Default Clothing Color(s):")
6262
split = layout.split()
6363
col = split.column()
64-
col.prop(modifier, "clothing_tint2on")
64+
col.prop(modifier, "clothing_tint1")
6565

6666
col = split.column()
67-
col.prop(modifier, "clothing_hair")
67+
col.prop(modifier, "clothing_tint2")
6868

6969
split = layout.split()
7070
col = split.column()
71-
col.prop(modifier, "clothing_tint1")
72-
73-
col = split.column()
74-
col.enabled = modifier.clothing_tint2on is True
75-
col.prop(modifier, "clothing_tint2")
71+
col.prop(modifier, "clothing_hair")
7672

7773
layout.separator()
7874
layout.label(text="Visibility:")

0 commit comments

Comments
 (0)