Minor tweaks

This commit is contained in:
Wojtek Figat
2023-08-01 14:14:27 +02:00
parent 869649e5ed
commit 8dc98174cf
9 changed files with 2 additions and 25 deletions

View File

@@ -1131,7 +1131,6 @@ namespace FlaxEditor.Windows.Assets
// Save data to the asset
if (_asset.SaveSurface(value, ref meta))
{
// Error
_surface.MarkAsEdited();
Editor.LogError("Failed to save surface data");
}
@@ -1192,7 +1191,6 @@ namespace FlaxEditor.Windows.Assets
// Load surface graph
if (_surface.Load())
{
// Error
Editor.LogError("Failed to load Visual Script surface.");
return true;
}