You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
-added a check for setget while running the game , closes #1009
-fixed issues in tilemap editor (swap arrows not showing/hiding properly)
This commit is contained in:
@@ -73,6 +73,8 @@ class TileMapEditor : public VBoxContainer {
|
||||
ToolButton *mirror_x;
|
||||
ToolButton *mirror_y;
|
||||
|
||||
HBoxContainer *canvas_item_editor_hb;
|
||||
|
||||
|
||||
struct CellOp {
|
||||
int idx;
|
||||
@@ -102,6 +104,7 @@ protected:
|
||||
static void _bind_methods();
|
||||
public:
|
||||
|
||||
HBoxContainer *get_canvas_item_editor_hb() const { return canvas_item_editor_hb; }
|
||||
Vector2 snap_point(const Vector2& p_point) const;
|
||||
bool forward_input_event(const InputEvent& p_event);
|
||||
void edit(Node *p_tile_map);
|
||||
@@ -115,6 +118,7 @@ class TileMapEditorPlugin : public EditorPlugin {
|
||||
TileMapEditor *tile_map_editor;
|
||||
EditorNode *editor;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
virtual bool forward_input_event(const InputEvent& p_event) { return tile_map_editor->forward_input_event(p_event); }
|
||||
|
||||
Reference in New Issue
Block a user