Fix regression in collections editing after improving ReadOnly option

This commit is contained in:
Wojtek Figat
2024-05-16 10:34:57 +02:00
parent 58f95d6ce3
commit ab5bb79754
9 changed files with 13 additions and 7 deletions

View File

@@ -82,7 +82,7 @@ namespace FlaxEditor.Tools.Foliage
}
}
[EditorOrder(20), EditorDisplay("Model"), Collection(ReadOnly = true), Tooltip("Model materials override collection. Can be used to change a specific material of the mesh to the custom one without editing the asset.")]
[EditorOrder(20), EditorDisplay("Model"), Collection(CanResize = true), Tooltip("Model materials override collection. Can be used to change a specific material of the mesh to the custom one without editing the asset.")]
public MaterialBase[] Materials
{
get