mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-01 20:25:07 +08:00
fix: ArgumentNullException when selecting multiple Menu Item with same settings (#1097)
This commit is contained in:
parent
d403f1b178
commit
c63128095e
@ -441,9 +441,9 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
var forceMixedValues = _parameterName.hasMultipleDifferentValues;
|
var forceMixedValues = _parameterName.hasMultipleDifferentValues;
|
||||||
|
|
||||||
var syncedIsMixed = forceMixedValues || _prop_isSynced.hasMultipleDifferentValues ||
|
var syncedIsMixed = forceMixedValues || _prop_isSynced.hasMultipleDifferentValues ||
|
||||||
siblings.Any(s => s.isSynced != _prop_isSynced.boolValue);
|
siblings != null && siblings.Any(s => s.isSynced != _prop_isSynced.boolValue);
|
||||||
var savedIsMixed = forceMixedValues || _prop_isSaved.hasMultipleDifferentValues ||
|
var savedIsMixed = forceMixedValues || _prop_isSaved.hasMultipleDifferentValues ||
|
||||||
siblings.Any(s => s.isSaved != _prop_isSaved.boolValue);
|
siblings != null && siblings.Any(s => s.isSaved != _prop_isSaved.boolValue);
|
||||||
|
|
||||||
var knownParameter = _parameterName.hasMultipleDifferentValues
|
var knownParameter = _parameterName.hasMultipleDifferentValues
|
||||||
? null
|
? null
|
||||||
|
Loading…
Reference in New Issue
Block a user