Fix Editor UI when one of the properties panel throws exceptions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user