Added support for exclude folders from export

This commit is contained in:
allkhor 2018-04-05 03:55:01 +06:00
parent 0b180a0732
commit cedb113ffd
4 changed files with 53 additions and 14 deletions

View file

@ -288,7 +288,7 @@ protected:
Set<String> image_formats;
ExportFilter export_filter;
String export_custom_filter, export_custom_filter_exclude;
String export_custom_filter, export_custom_filter_exclude, export_custom_filter_exclude_dir;
Map<StringName, FileAction> files;
Map<StringName, Ref<EditorExportPlatform> > exporters;
Map<StringName, ImageGroup> image_groups;
@ -340,8 +340,10 @@ public:
void set_export_custom_filter(const String &p_custom_filter);
void set_export_custom_filter_exclude(const String &p_custom_filter);
void set_export_custom_filter_exclude_dir(const String &p_custom_filter);
String get_export_custom_filter() const;
String get_export_custom_filter_exclude() const;
String get_export_custom_filter_exclude_dir() const;
void set_export_image_action(ImageAction p_action);
ImageAction get_export_image_action() const;