Sort plugin projects in content tree.
This commit is contained in:
@@ -931,6 +931,7 @@ namespace FlaxEditor.Windows
|
|||||||
|
|
||||||
// Add game project on top, plugins in the middle and engine at bottom
|
// Add game project on top, plugins in the middle and engine at bottom
|
||||||
_root.AddChild(Editor.ContentDatabase.Game);
|
_root.AddChild(Editor.ContentDatabase.Game);
|
||||||
|
Editor.ContentDatabase.Projects.Sort();
|
||||||
foreach (var project in Editor.ContentDatabase.Projects)
|
foreach (var project in Editor.ContentDatabase.Projects)
|
||||||
{
|
{
|
||||||
project.SortChildrenRecursive();
|
project.SortChildrenRecursive();
|
||||||
|
|||||||
Reference in New Issue
Block a user