fixed bug with selection not correctly restoring after deserializing
This commit is contained in:
Родитель
1b2eeed3eb
Коммит
ab5d4c2fba
|
@ -87,7 +87,7 @@ namespace Speckle.ConnectorUnity.Wrappers.Selection
|
|||
index++;
|
||||
}
|
||||
|
||||
string? currentSelected = KeyFunction(Selected);
|
||||
string? currentSelected = selectedId;
|
||||
if (currentSelected is null || !indexMap.ContainsKey(currentSelected))
|
||||
{
|
||||
selectedId = defaultOption;
|
||||
|
|
Загрузка…
Ссылка в новой задаче