change how layers with no name get displayed
Makes the name shorter, fits into comboboxes more easily
This commit is contained in:
@@ -48,7 +48,7 @@ namespace FlaxEditor.Content.Settings
|
||||
for (int i = 0; i < layerNames.Length; i++)
|
||||
{
|
||||
if (string.IsNullOrEmpty(layerNames[i]))
|
||||
layerNames[i] = $"Terrain Layer {i}";
|
||||
layerNames[i] = $"Layer {i}";
|
||||
}
|
||||
|
||||
return layerNames;
|
||||
|
||||
Reference in New Issue
Block a user