mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix property warnings and hide some debug prints
"ALL IS GOOD" was a lie. In particular, removes verbose "path not recognized" false positive. The actual logic is to (somewhat naively) check all ResourceFormatLoaders and to pick the first good match, so no need to warn about the formats that do not match the type hint.
This commit is contained in:
@@ -435,7 +435,7 @@ void EditorNode::_sources_changed(bool p_exist) {
|
||||
|
||||
if (defer_load_scene != "") {
|
||||
|
||||
print_line("loading scene DEFERED");
|
||||
print_line("loading scene DEFERRED");
|
||||
load_scene(defer_load_scene);
|
||||
defer_load_scene = "";
|
||||
}
|
||||
@@ -6051,7 +6051,10 @@ EditorNode::EditorNode() {
|
||||
{
|
||||
|
||||
_initializing_addons = true;
|
||||
Vector<String> addons = GlobalConfig::get_singleton()->get("editor_plugins/enabled");
|
||||
Vector<String> addons;
|
||||
if (GlobalConfig::get_singleton()->has("editor_plugins/enabled")) {
|
||||
addons = GlobalConfig::get_singleton()->get("editor_plugins/enabled");
|
||||
}
|
||||
|
||||
for (int i = 0; i < addons.size(); i++) {
|
||||
set_addon_plugin_enabled(addons[i], true);
|
||||
|
||||
Reference in New Issue
Block a user