Browse Source

tools: hide only file types used internally

Daniele Bartolini 5 năm trước cách đây
mục cha
commit
f6dcf55df3

+ 1 - 0
docs/changelog.rst

@@ -25,6 +25,7 @@ Changelog
 * Fixed an issue that caused textures with supported extension types to be skipped by the importer
 * Fixed an issue that caused textures with supported extension types to be skipped by the importer
 * Added the ability select distinct resource types in the Import dialog
 * Added the ability select distinct resource types in the Import dialog
 * Fixed Lua error when setting camera parameters
 * Fixed Lua error when setting camera parameters
+* The Project Browser will now show every file type except those used only internally by the Editor
 
 
 0.40.0
 0.40.0
 ------
 ------

+ 0 - 6
tools/level_editor/project_browser.vala

@@ -12,13 +12,7 @@ namespace Crown
 private bool row_should_be_hidden(string type, string name)
 private bool row_should_be_hidden(string type, string name)
 {
 {
 	return type == "<folder>" && name == "core"
 	return type == "<folder>" && name == "core"
-		|| type == "dds"
 		|| type == "importer_settings"
 		|| type == "importer_settings"
-		|| type == "ktx"
-		|| type == "ogg"
-		|| type == "png"
-		|| type == "pvr"
-		|| type == "wav"
 		|| name == Project.LEVEL_EDITOR_TEST_NAME
 		|| name == Project.LEVEL_EDITOR_TEST_NAME
 		;
 		;
 }
 }