Browse Source

Moving the data folder next to /bin so it makes sense when editor installation is available
Clear scene on project unload

BearishSun 10 years ago
parent
commit
2536cc0898

+ 1 - 0
.gitignore

@@ -6,5 +6,6 @@
 bin
 obj
 lib
+data
 Intermediate
 Dependencies

+ 1 - 0
BansheeEditor/Source/BsEditorApplication.cpp

@@ -309,6 +309,7 @@ namespace BansheeEngine
 		EditorWidgetManager::instance().closeAll();
 		ProjectLibrary::instance().unloadLibrary();
 		Resources::instance().unloadAllUnused();
+		gCoreSceneManager().clearScene();
 	}
 
 	void EditorApplication::loadProject(const Path& projectPath)

+ 1 - 1
BansheeEngine/Include/BsPrerequisites.h

@@ -133,7 +133,7 @@ namespace BansheeEngine
 	static const char* SCRIPT_GAME_ASSEMBLY = "MScriptGame";
 	static const Path ASSEMBLY_PATH = "..\\..\\Assemblies\\";
 	static const Path GAME_RESOURCES_PATH = "..\\..\\..\\Resources\\";
-	static const Path RUNTIME_DATA_PATH = L"..\\..\\..\\..\\Data\\";
+	static const Path RUNTIME_DATA_PATH = L"..\\..\\..\\Data\\";
 
 	/**
 	 * @brief	RTTI types.

+ 1 - 1
License/BansheeLicense.txt

@@ -1,5 +1,5 @@
 						Banshee Engine
-			A modern fully featured game development toolkit
+				Modern game development toolkit
 				Copyright (C) 2015 Marko Pintera
 
     This program is free software: you can redistribute it and/or modify

+ 1 - 0
MBansheeEditor/ProjectWindow.cs

@@ -140,6 +140,7 @@ namespace BansheeEditor
 
                         EditorSettings.RecentProjects = newRecentProjects;
                         EditorSettings.Save();
+                        RefreshRecentProjects();
 
                         break;
                     }

+ 0 - 6
TODO.txt

@@ -56,12 +56,6 @@ Move data folder within current repo
  - Store default layout asset in Data/Editor folder
  - Store data generated by editor runtime at Data/Runtime
 
- Test:
- - Browse for project
- - Create project
- - See if recent project list is populated and interactable
- - Finally test if opening/creating a project while another one is open is possible
-
 Ribek use:
  - When mousing over GUIMenu elements cursor changes if underlying GUI element changes
  - Hook up color picker to guicolor field