Fixed some references initially being displayed collapsed after the search

This commit is contained in:
yasirkula
2023-10-07 20:41:10 +03:00
parent 524965aee7
commit 092b80ba29
@@ -966,6 +966,8 @@ namespace AssetUsageDetectorNamespace
for( int i = 0; i < item.children.Count; i++ )
shouldExpand |= GetMainReferenceIdsRecursive( item.children[i], ids );
}
else
shouldExpand = true; // No main reference is encountered in this branch; expand the whole branch
if( shouldExpand )
ids.Add( item.id );