Exposing more project settings for documentation
This commit is contained in:
parent
79454bfd3b
commit
bd30847e59
8 changed files with 72 additions and 20 deletions
|
|
@ -2568,8 +2568,7 @@ void EditorFileSystem::remove_import_format_support_query(Ref<EditorFileSystemIm
|
|||
|
||||
EditorFileSystem::EditorFileSystem() {
|
||||
ResourceLoader::import = _resource_import;
|
||||
reimport_on_missing_imported_files = GLOBAL_DEF("editor/import/reimport_missing_imported_files", true);
|
||||
GLOBAL_DEF("editor/import/use_multiple_threads", true);
|
||||
reimport_on_missing_imported_files = GLOBAL_GET("editor/import/reimport_missing_imported_files");
|
||||
singleton = this;
|
||||
filesystem = memnew(EditorFileSystemDirectory); //like, empty
|
||||
filesystem->parent = nullptr;
|
||||
|
|
|
|||
|
|
@ -374,8 +374,6 @@ EditorExport::EditorExport() {
|
|||
|
||||
singleton = this;
|
||||
set_process(true);
|
||||
|
||||
GLOBAL_DEF("editor/export/convert_text_resources_to_binary", true);
|
||||
}
|
||||
|
||||
EditorExport::~EditorExport() {
|
||||
|
|
|
|||
|
|
@ -57,8 +57,8 @@ void VersionControlEditorPlugin::_create_vcs_metadata_files() {
|
|||
|
||||
void VersionControlEditorPlugin::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_READY) {
|
||||
String installed_plugin = GLOBAL_DEF("editor/version_control/plugin_name", "");
|
||||
bool has_autoload_enable = GLOBAL_DEF("editor/version_control/autoload_on_startup", false);
|
||||
String installed_plugin = GLOBAL_GET("editor/version_control/plugin_name");
|
||||
bool has_autoload_enable = GLOBAL_GET("editor/version_control/autoload_on_startup");
|
||||
|
||||
if (installed_plugin != "" && has_autoload_enable) {
|
||||
if (_load_plugin(installed_plugin)) {
|
||||
|
|
|
|||
|
|
@ -221,6 +221,14 @@ void register_editor_types() {
|
|||
GLOBAL_DEF("editor/naming/default_signal_callback_name", "_on_{node_name}_{signal_name}");
|
||||
GLOBAL_DEF("editor/naming/default_signal_callback_to_self_name", "_on_{signal_name}");
|
||||
GLOBAL_DEF(PropertyInfo(Variant::INT, "editor/naming/scene_name_casing", PROPERTY_HINT_ENUM, "Auto,PascalCase,snake_case"), EditorNode::SCENE_NAME_CASING_SNAKE_CASE);
|
||||
|
||||
GLOBAL_DEF("editor/import/reimport_missing_imported_files", true);
|
||||
GLOBAL_DEF("editor/import/use_multiple_threads", true);
|
||||
|
||||
GLOBAL_DEF("editor/export/convert_text_resources_to_binary", true);
|
||||
|
||||
GLOBAL_DEF("editor/version_control/plugin_name", "");
|
||||
GLOBAL_DEF("editor/version_control/autoload_on_startup", false);
|
||||
}
|
||||
|
||||
void unregister_editor_types() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue