From 21f4d16df4d69cac3e1060647751ce218403bf65 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 11 Sep 2021 20:32:02 +0200 Subject: [PATCH] Removed all the unimplemented methods from SkeletonEditorPluginRemover, as I plan to inherit the plugin from the pr from this. --- skeleton_editor_plugin_remover.cpp | 13 ------------- skeleton_editor_plugin_remover.h | 8 -------- 2 files changed, 21 deletions(-) diff --git a/skeleton_editor_plugin_remover.cpp b/skeleton_editor_plugin_remover.cpp index b4b30ef..b4f7591 100644 --- a/skeleton_editor_plugin_remover.cpp +++ b/skeleton_editor_plugin_remover.cpp @@ -28,16 +28,6 @@ SOFTWARE. #include "editor/editor_scale.h" #include "editor/editor_settings.h" -void SkeletonEditorPluginRemover::edit(Object *p_object) { -} - -bool SkeletonEditorPluginRemover::handles(Object *p_object) const { - return false; -} - -void SkeletonEditorPluginRemover::make_visible(bool p_visible) { -} - void SkeletonEditorPluginRemover::remove_built_in_editor_plugin() { EditorData &data = EditorNode::get_editor_data(); @@ -70,9 +60,6 @@ SkeletonEditorPluginRemover::SkeletonEditorPluginRemover(EditorNode *p_node) { call_deferred("remove_built_in_editor_plugin"); } -SkeletonEditorPluginRemover::~SkeletonEditorPluginRemover() { -} - void SkeletonEditorPluginRemover::_bind_methods() { ClassDB::bind_method(D_METHOD("remove_built_in_editor_plugin"), &SkeletonEditorPluginRemover::remove_built_in_editor_plugin); } \ No newline at end of file diff --git a/skeleton_editor_plugin_remover.h b/skeleton_editor_plugin_remover.h index a31d1e4..dd9ab7d 100644 --- a/skeleton_editor_plugin_remover.h +++ b/skeleton_editor_plugin_remover.h @@ -33,17 +33,9 @@ protected: static void _bind_methods(); public: - virtual bool forward_spatial_gui_input(Camera *p_camera, const Ref &p_event) { return false; } - virtual String get_name() const { return "SkeletonEditorPluginRemover"; } - bool has_main_screen() const { return false; } - virtual void edit(Object *p_object); - virtual bool handles(Object *p_object) const; - virtual void make_visible(bool p_visible); - void remove_built_in_editor_plugin(); SkeletonEditorPluginRemover(EditorNode *p_node); - ~SkeletonEditorPluginRemover(); }; #endif