mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Exposing more project settings for documentation
(cherry picked from commit bd30847e59)
This commit is contained in:
parent
d6b36e800d
commit
1e94881484
8 changed files with 72 additions and 20 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue