diff options
author | kobewi <kobewi4e@gmail.com> | 2022-10-18 16:44:57 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-10-18 16:44:57 +0200 |
commit | 4aaed4fee1d8c7a07045250d27de3de8c6f6ae39 (patch) | |
tree | fa05fd5c0281a39390f8f953018247a92409214a /editor | |
parent | 2e3662acbd8586697db38569785cc9f97dff945e (diff) |
Minor code improvements
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/tiles/tile_set_editor.cpp | 6 | ||||
-rw-r--r-- | editor/plugins/tiles/tile_set_editor.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/editor/plugins/tiles/tile_set_editor.cpp b/editor/plugins/tiles/tile_set_editor.cpp index 3b057b7631..5e25d343b0 100644 --- a/editor/plugins/tiles/tile_set_editor.cpp +++ b/editor/plugins/tiles/tile_set_editor.cpp @@ -808,9 +808,3 @@ TileSetEditor::TileSetEditor() { EditorNode::get_singleton()->get_editor_data().add_move_array_element_function(SNAME("TileSet"), callable_mp(this, &TileSetEditor::_move_tile_set_array_element)); EditorNode::get_singleton()->get_editor_data().add_undo_redo_inspector_hook_callback(callable_mp(this, &TileSetEditor::_undo_redo_inspector_callback)); } - -TileSetEditor::~TileSetEditor() { - if (tile_set.is_valid()) { - tile_set->disconnect("changed", callable_mp(this, &TileSetEditor::_tile_set_changed)); - } -} diff --git a/editor/plugins/tiles/tile_set_editor.h b/editor/plugins/tiles/tile_set_editor.h index 290c53b109..76a471db74 100644 --- a/editor/plugins/tiles/tile_set_editor.h +++ b/editor/plugins/tiles/tile_set_editor.h @@ -109,7 +109,6 @@ public: void edit(Ref<TileSet> p_tile_set); TileSetEditor(); - ~TileSetEditor(); }; #endif // TILE_SET_EDITOR_H |