mirror of
https://github.com/Relintai/skeleton_editor.git
synced 2024-11-20 21:37:17 +01:00
Removed all the unimplemented methods from SkeletonEditorPluginRemover, as I plan to inherit the plugin from the pr from this.
This commit is contained in:
parent
55d98daab2
commit
21f4d16df4
@ -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);
|
||||||
}
|
}
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user