fixed bug with selection not correctly restoring after deserializing
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user