feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef CANVAS_ITEM_EDITOR_PLUGIN_H
|
||||
#define CANVAS_ITEM_EDITOR_PLUGIN_H
|
||||
#pragma once
|
||||
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
|
|
@ -68,8 +67,6 @@ public:
|
|||
List<Dictionary> pre_drag_bones_undo_state;
|
||||
|
||||
Dictionary undo_state;
|
||||
|
||||
CanvasItemEditorSelectedItem() {}
|
||||
};
|
||||
|
||||
class CanvasItemEditor : public VBoxContainer {
|
||||
|
|
@ -255,7 +252,7 @@ private:
|
|||
bool key_scale = false;
|
||||
|
||||
bool pan_pressed = false;
|
||||
Vector2 temp_pivot = Vector2(INFINITY, INFINITY);
|
||||
Vector2 temp_pivot = Vector2(Math::INF, Math::INF);
|
||||
|
||||
bool ruler_tool_active = false;
|
||||
Point2 ruler_tool_origin;
|
||||
|
|
@ -603,7 +600,7 @@ protected:
|
|||
void _notification(int p_what);
|
||||
|
||||
public:
|
||||
virtual String get_plugin_name() const override { return "2D"; }
|
||||
virtual String get_plugin_name() const override { return TTRC("2D"); }
|
||||
bool has_main_screen() const override { return true; }
|
||||
virtual void edit(Object *p_object) override;
|
||||
virtual bool handles(Object *p_object) const override;
|
||||
|
|
@ -615,7 +612,6 @@ public:
|
|||
CanvasItemEditor *get_canvas_item_editor() { return canvas_item_editor; }
|
||||
|
||||
CanvasItemEditorPlugin();
|
||||
~CanvasItemEditorPlugin();
|
||||
};
|
||||
|
||||
class CanvasItemEditorViewport : public Control {
|
||||
|
|
@ -665,5 +661,3 @@ public:
|
|||
CanvasItemEditorViewport(CanvasItemEditor *p_canvas_item_editor);
|
||||
~CanvasItemEditorViewport();
|
||||
};
|
||||
|
||||
#endif // CANVAS_ITEM_EDITOR_PLUGIN_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue