mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 22:23:04 +00:00
-add *.flags as a filter automatically when exporting, solves #1029
This commit is contained in:
parent
6b5b95bb4e
commit
ffd4b22e09
@ -292,7 +292,11 @@ Vector<StringName> EditorExportPlatform::get_dependencies(bool p_bundles) const
|
||||
_add_filter_to_list(exported,"*");
|
||||
} else {
|
||||
_add_to_list(EditorFileSystem::get_singleton()->get_filesystem(),exported);
|
||||
_add_filter_to_list(exported,EditorImportExport::get_singleton()->get_export_custom_filter());
|
||||
String cf = EditorImportExport::get_singleton()->get_export_custom_filter();
|
||||
if (cf!="")
|
||||
cf+=",";
|
||||
cf+="*.flags";
|
||||
_add_filter_to_list(exported,cf);
|
||||
|
||||
}
|
||||
|
||||
@ -361,8 +365,12 @@ Vector<StringName> EditorExportPlatform::get_dependencies(bool p_bundles) const
|
||||
}
|
||||
}
|
||||
}
|
||||
String cf = EditorImportExport::get_singleton()->get_export_custom_filter();
|
||||
if (cf!="")
|
||||
cf+=",";
|
||||
cf+="*.flags";
|
||||
_add_filter_to_list(exported,cf);
|
||||
|
||||
_add_filter_to_list(exported,EditorImportExport::get_singleton()->get_export_custom_filter());
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user