Fix Editor UI when one of the properties panel throws exceptions

This commit is contained in:
Wojtek Figat
2023-08-29 11:42:12 +02:00
parent 17cbd66aed
commit 597f186902

View File

@@ -85,8 +85,15 @@ namespace FlaxEditor.CustomEditors
/// <inheritdoc />
public override void Update(float deltaTime)
{
// Update editors
_presenter.Update();
try
{
// Update editors
_presenter.Update();
}
catch (Exception ex)
{
FlaxEditor.Editor.LogWarning(ex);
}
base.Update(deltaTime);
}