Fix layout of editor updating when adding a script to multiple actors in a scene.
This commit is contained in:
@@ -245,6 +245,7 @@ namespace FlaxEditor.CustomEditors.Dedicated
|
|||||||
|
|
||||||
var multiAction = new MultiUndoAction(actions);
|
var multiAction = new MultiUndoAction(actions);
|
||||||
multiAction.Do();
|
multiAction.Do();
|
||||||
|
ScriptsEditor.ParentEditor?.RebuildLayout();
|
||||||
var presenter = ScriptsEditor.Presenter;
|
var presenter = ScriptsEditor.Presenter;
|
||||||
if (presenter != null)
|
if (presenter != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user