Merge pull request #16111 from Noshyaar/b

3DEditor: fix multiple node selection crash the editor
This commit is contained in:
Rémi Verschelde 2018-01-30 13:42:11 +01:00 committed by GitHub
commit 899e277519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3827,9 +3827,6 @@ Object *SpatialEditor::_get_editor_data(Object *p_what) {
si->sbox_instance = VisualServer::get_singleton()->instance_create2(selection_box->get_rid(), sp->get_world()->get_scenario());
VS::get_singleton()->instance_geometry_set_cast_shadows_setting(si->sbox_instance, VS::SHADOW_CASTING_SETTING_OFF);
if (Engine::get_singleton()->is_editor_hint())
editor->call("edit_node", sp);
return si;
}