aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/spatial_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2016-01-09 12:50:20 +0100
committerRémi Verschelde2016-01-09 12:50:20 +0100
commitdbdce7d6f53c2a7b0d6294097e4b8e6712a34403 (patch)
tree37317da03c83ac55ce78c64798131b01a071fcf1 /tools/editor/plugins/spatial_editor_plugin.cpp
parent292e8bf0ab02cf37b6ee1759a3942a57a6a69062 (diff)
parent7fa233cd89f0bc00b5e26ced051d12d3f73ec7e8 (diff)
downloadgodot-dbdce7d6f53c2a7b0d6294097e4b8e6712a34403.tar.gz
godot-dbdce7d6f53c2a7b0d6294097e4b8e6712a34403.tar.zst
godot-dbdce7d6f53c2a7b0d6294097e4b8e6712a34403.zip
Merge pull request #3289 from TheHX/pr-warnings
Fix some error messages
Diffstat (limited to '')
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp
index 8903e1231..0fac1346f 100644
--- a/tools/editor/plugins/spatial_editor_plugin.cpp
+++ b/tools/editor/plugins/spatial_editor_plugin.cpp
@@ -3504,13 +3504,7 @@ void SpatialEditor::_instance_scene() {
undo_redo->commit_action();
#endif
}
-/*
-void SpatialEditor::_update_selection() {
-
-
-}
-*/
void SpatialEditor::_unhandled_key_input(InputEvent p_event) {
if (!is_visible())
@@ -3715,7 +3709,6 @@ void SpatialEditor::_bind_methods() {
ObjectTypeDB::bind_method("_menu_item_pressed",&SpatialEditor::_menu_item_pressed);
ObjectTypeDB::bind_method("_xform_dialog_action",&SpatialEditor::_xform_dialog_action);
ObjectTypeDB::bind_method("_instance_scene",&SpatialEditor::_instance_scene);
-// ObjectTypeDB::bind_method("_update_selection",&SpatialEditor::_update_selection);
ObjectTypeDB::bind_method("_get_editor_data",&SpatialEditor::_get_editor_data);
ObjectTypeDB::bind_method("_request_gizmo",&SpatialEditor::_request_gizmo);
ObjectTypeDB::bind_method("_default_light_angle_input",&SpatialEditor::_default_light_angle_input);
@@ -3817,7 +3810,6 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) {
editor=p_editor;
editor_selection=editor->get_editor_selection();
editor_selection->add_editor_plugin(this);
- editor_selection->connect("selection_changed",this,"_update_selection");
snap_enabled=false;
tool_mode = TOOL_MODE_SELECT;