Prevents dimension-unapplicable inputs from being assigned.

This commit is contained in:
2023-02-18 15:51:21 +08:00
parent 4fab20953a
commit 59c2210359

View File

@@ -95,6 +95,9 @@ namespace Cryville.Crtr.Config {
if (proxy.IsUsed(tsrc)) {
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;
btn.interactable = flag;
}