Fix prefab diff context menu in Editor to properly diff against arrays

This commit is contained in:
Wojtek Figat
2023-06-11 20:44:04 +02:00
parent 958c7b2181
commit 31c9b85a3f
2 changed files with 5 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ namespace FlaxEditor.CustomEditors
if (values.HasReferenceValue)
{
if (values.ReferenceValue is IList v && values.Count == v.Count && v.Count > index)
if (values.ReferenceValue is IList v && v.Count > index)
{
_referenceValue = v[index];
_hasReferenceValue = true;