Add Loading text info for particle system and animation timelines
This commit is contained in:
@@ -254,6 +254,7 @@ namespace FlaxEditor.Windows.Assets
|
||||
Enabled = false
|
||||
};
|
||||
_timeline.Modified += MarkAsEdited;
|
||||
_timeline.SetNoTracksText("Loading...");
|
||||
|
||||
// Asset properties
|
||||
_propertiesPresenter = new CustomEditorPresenter(null);
|
||||
@@ -361,6 +362,7 @@ namespace FlaxEditor.Windows.Assets
|
||||
_timeline.Load(_asset);
|
||||
_undo.Clear();
|
||||
_timeline.Enabled = true;
|
||||
_timeline.SetNoTracksText(null);
|
||||
ClearEditedFlag();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -347,6 +347,7 @@ namespace FlaxEditor.Windows.Assets
|
||||
};
|
||||
_timeline.Modified += OnTimelineModified;
|
||||
_timeline.SelectionChanged += OnTimelineSelectionChanged;
|
||||
_timeline.SetNoTracksText("Loading...");
|
||||
|
||||
// Properties editor
|
||||
var propertiesEditor = new CustomEditorPresenter(_undo, string.Empty);
|
||||
@@ -527,6 +528,7 @@ namespace FlaxEditor.Windows.Assets
|
||||
// Setup
|
||||
_undo.Clear();
|
||||
_timeline.Enabled = true;
|
||||
_timeline.SetNoTracksText(null);
|
||||
_propertiesEditor.Select(new GeneralProxy(this));
|
||||
ClearEditedFlag();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user