Merge pull request #113396 from KoBeWi/Grock
Change GridMap and Replication to EditorDock
This commit is contained in:
commit
d364a63b88
8 changed files with 47 additions and 50 deletions
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include "../grid_map.h"
|
||||
|
||||
#include "editor/docks/editor_dock.h"
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
|
||||
|
|
@ -47,8 +48,8 @@ class EditorZoomWidget;
|
|||
class BaseButton;
|
||||
class SpinBox;
|
||||
|
||||
class GridMapEditor : public VBoxContainer {
|
||||
GDCLASS(GridMapEditor, VBoxContainer);
|
||||
class GridMapEditor : public EditorDock {
|
||||
GDCLASS(GridMapEditor, EditorDock);
|
||||
|
||||
static constexpr int32_t GRID_CURSOR_SIZE = 50;
|
||||
|
||||
|
|
@ -275,7 +276,6 @@ class GridMapEditorPlugin : public EditorPlugin {
|
|||
GDCLASS(GridMapEditorPlugin, EditorPlugin);
|
||||
|
||||
GridMapEditor *grid_map_editor = nullptr;
|
||||
Button *panel_button = nullptr;
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue