1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Changed some code showed in LGTM and Coverage

This commit is contained in:
qarmin
2019-07-20 08:09:57 +02:00
parent 584ca0f156
commit 6cbaf7662f
55 changed files with 94 additions and 202 deletions

View File

@@ -834,7 +834,7 @@ void EditorNode::_get_scene_metadata(const String &p_file) {
for (List<String>::Element *E = esl.front(); E; E = E->next()) {
Variant st = cf->get_value("editor_states", E->get());
if (st.get_type()) {
if (st.get_type() != Variant::NIL) {
md[E->get()] = st;
}
}
@@ -2543,8 +2543,6 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
restart_editor();
} break;
default: {
if (p_option >= IMPORT_PLUGIN_BASE) {
}
}
}
}