mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-03-21 12:02:28 +01:00
Removed feature profile dir creation from the editor.
This commit is contained in:
parent
7da4fbcb32
commit
dccf8a83f9
@ -946,12 +946,6 @@ void EditorSettings::create() {
|
|||||||
dir->change_dir("..");
|
dir->change_dir("..");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dir->change_dir("feature_profiles") != OK) {
|
|
||||||
dir->make_dir("feature_profiles");
|
|
||||||
} else {
|
|
||||||
dir->change_dir("..");
|
|
||||||
}
|
|
||||||
|
|
||||||
_create_script_templates(dir->get_current_dir().plus_file("script_templates"));
|
_create_script_templates(dir->get_current_dir().plus_file("script_templates"));
|
||||||
|
|
||||||
if (dir->change_dir("projects") != OK) {
|
if (dir->change_dir("projects") != OK) {
|
||||||
@ -1253,10 +1247,6 @@ String EditorSettings::get_cache_dir() const {
|
|||||||
return cache_dir;
|
return cache_dir;
|
||||||
}
|
}
|
||||||
|
|
||||||
String EditorSettings::get_feature_profiles_dir() const {
|
|
||||||
return get_settings_dir().plus_file("feature_profiles");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Metadata
|
// Metadata
|
||||||
|
|
||||||
void EditorSettings::set_project_metadata(const String &p_section, const String &p_key, Variant p_data) {
|
void EditorSettings::set_project_metadata(const String &p_section, const String &p_key, Variant p_data) {
|
||||||
|
@ -179,7 +179,6 @@ public:
|
|||||||
String get_script_templates_dir() const;
|
String get_script_templates_dir() const;
|
||||||
String get_project_script_templates_dir() const;
|
String get_project_script_templates_dir() const;
|
||||||
String get_cache_dir() const;
|
String get_cache_dir() const;
|
||||||
String get_feature_profiles_dir() const;
|
|
||||||
|
|
||||||
void set_project_metadata(const String &p_section, const String &p_key, Variant p_data);
|
void set_project_metadata(const String &p_section, const String &p_key, Variant p_data);
|
||||||
Variant get_project_metadata(const String &p_section, const String &p_key, Variant p_default) const;
|
Variant get_project_metadata(const String &p_section, const String &p_key, Variant p_default) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user