Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts: # Source/Engine/Level/Actors/AnimatedModel.cpp
This commit is contained in:
@@ -919,6 +919,11 @@ namespace FlaxEditor.Modules
|
||||
// Check if node already has that element (skip during init when we want to walk project dir very fast)
|
||||
if (_isDuringFastSetup || !parent.Folder.ContainsChild(path))
|
||||
{
|
||||
#if PLATFORM_MAC
|
||||
if (path.EndsWith(".DS_Store", StringComparison.Ordinal))
|
||||
continue;
|
||||
#endif
|
||||
|
||||
// Create file item
|
||||
ContentItem item;
|
||||
if (path.EndsWith(".cs"))
|
||||
@@ -960,6 +965,11 @@ namespace FlaxEditor.Modules
|
||||
// Check if node already has that element (skip during init when we want to walk project dir very fast)
|
||||
if (_isDuringFastSetup || !parent.Folder.ContainsChild(path))
|
||||
{
|
||||
#if PLATFORM_MAC
|
||||
if (path.EndsWith(".DS_Store", StringComparison.Ordinal))
|
||||
continue;
|
||||
#endif
|
||||
|
||||
// Create file item
|
||||
ContentItem item = null;
|
||||
if (FlaxEngine.Content.GetAssetInfo(path, out var assetInfo))
|
||||
@@ -1186,6 +1196,7 @@ namespace FlaxEditor.Modules
|
||||
{
|
||||
case WatcherChangeTypes.Created:
|
||||
case WatcherChangeTypes.Deleted:
|
||||
case WatcherChangeTypes.Renamed:
|
||||
{
|
||||
lock (_dirtyNodes)
|
||||
{
|
||||
|
||||
@@ -553,6 +553,13 @@ namespace FlaxEditor.Modules
|
||||
cm.AddSeparator();
|
||||
_menuEditSelectAll = cm.AddButton("Select all", inputOptions.SelectAll, Editor.SceneEditing.SelectAllScenes);
|
||||
_menuEditFind = cm.AddButton("Find", inputOptions.Search, Editor.Windows.SceneWin.Search);
|
||||
cm.AddSeparator();
|
||||
cm.AddButton("Game Settings", () =>
|
||||
{
|
||||
var item = Editor.ContentDatabase.Find(GameSettings.GameSettingsAssetPath);
|
||||
if(item != null)
|
||||
Editor.ContentEditing.Open(item);
|
||||
});
|
||||
|
||||
// Scene
|
||||
MenuScene = MainMenu.AddButton("Scene");
|
||||
|
||||
Reference in New Issue
Block a user