diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-30 13:42:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 13:42:11 +0100 |
commit | 899e277519100bd4c041400da11d85b419b6c39a (patch) | |
tree | 4e6840adfacbf6393906e1fec821fca1271b4bf0 /editor | |
parent | 4f94d4378fd51a4d3a1d2ac12b90ba7b97bb776e (diff) | |
parent | 25dd1f0681cf6532b1d0fb1e023d0e8a50c30e69 (diff) |
Merge pull request #16111 from Noshyaar/b
3DEditor: fix multiple node selection crash the editor
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 5e8eb06556..bd2cdf0dda 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -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; } |