Prevents dimension-unapplicable inputs from being assigned.
This commit is contained in:
@@ -95,6 +95,9 @@ namespace Cryville.Crtr.Config {
|
|||||||
if (proxy.IsUsed(tsrc)) {
|
if (proxy.IsUsed(tsrc)) {
|
||||||
text.text += " (Used)";
|
text.text += " (Used)";
|
||||||
}
|
}
|
||||||
|
else if (tsrc.Handler.GetDimension(src.Value.Type) < m_configScene.ruleset.Root.inputs[_sel].dim) {
|
||||||
|
text.text += " (Not Applicable)";
|
||||||
|
}
|
||||||
else flag = true;
|
else flag = true;
|
||||||
btn.interactable = flag;
|
btn.interactable = flag;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user