Removed all the unimplemented methods from SkeletonEditorPluginRemover, as I plan to inherit the plugin from the pr from this.

This commit is contained in:
Relintai 2021-09-11 20:32:02 +02:00
parent 55d98daab2
commit 21f4d16df4
2 changed files with 0 additions and 21 deletions

View File

@ -28,16 +28,6 @@ SOFTWARE.
#include "editor/editor_scale.h" #include "editor/editor_scale.h"
#include "editor/editor_settings.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() { void SkeletonEditorPluginRemover::remove_built_in_editor_plugin() {
EditorData &data = EditorNode::get_editor_data(); EditorData &data = EditorNode::get_editor_data();
@ -70,9 +60,6 @@ SkeletonEditorPluginRemover::SkeletonEditorPluginRemover(EditorNode *p_node) {
call_deferred("remove_built_in_editor_plugin"); call_deferred("remove_built_in_editor_plugin");
} }
SkeletonEditorPluginRemover::~SkeletonEditorPluginRemover() {
}
void SkeletonEditorPluginRemover::_bind_methods() { void SkeletonEditorPluginRemover::_bind_methods() {
ClassDB::bind_method(D_METHOD("remove_built_in_editor_plugin"), &SkeletonEditorPluginRemover::remove_built_in_editor_plugin); ClassDB::bind_method(D_METHOD("remove_built_in_editor_plugin"), &SkeletonEditorPluginRemover::remove_built_in_editor_plugin);
} }

View File

@ -33,17 +33,9 @@ protected:
static void _bind_methods(); static void _bind_methods();
public: public:
virtual bool forward_spatial_gui_input(Camera *p_camera, const Ref<InputEvent> &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(); void remove_built_in_editor_plugin();
SkeletonEditorPluginRemover(EditorNode *p_node); SkeletonEditorPluginRemover(EditorNode *p_node);
~SkeletonEditorPluginRemover();
}; };
#endif #endif