diff options
author | Dualtagh Murray <dualtagh.murray@gonitro.com> | 2018-10-04 14:38:52 +0100 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-19 11:45:24 +0200 |
commit | b902a2f2a7438810cdcb053568ed5c27089b1e8a (patch) | |
tree | 0a70fb9dd0093ea6f3ad024616c665f9669077ff /editor/plugins | |
parent | a3072aa35e3bfd69d826fa33328b3ce1862f472a (diff) |
Fixing warnings generated by MSVC
Fixes #22684.
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/camera_editor_plugin.cpp | 12 | ||||
-rw-r--r-- | editor/plugins/camera_editor_plugin.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/editor/plugins/camera_editor_plugin.cpp b/editor/plugins/camera_editor_plugin.cpp index 37fbb54c30..3d8b24ccc7 100644 --- a/editor/plugins/camera_editor_plugin.cpp +++ b/editor/plugins/camera_editor_plugin.cpp @@ -32,18 +32,6 @@ #include "spatial_editor_plugin.h" -void CameraEditor::_notification(int p_what) { - - switch (p_what) { - - /* case NOTIFICATION_PROCESS: { - - if (preview->is_pressed() && node) - node->call("make_current"); - - } break;*/ - } -} void CameraEditor::_node_removed(Node *p_node) { if (p_node == node) { diff --git a/editor/plugins/camera_editor_plugin.h b/editor/plugins/camera_editor_plugin.h index 275624beeb..0340808c9a 100644 --- a/editor/plugins/camera_editor_plugin.h +++ b/editor/plugins/camera_editor_plugin.h @@ -50,7 +50,6 @@ class CameraEditor : public Control { void _pressed(); protected: - void _notification(int p_what); void _node_removed(Node *p_node); static void _bind_methods(); |