diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-16 12:27:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-16 12:27:46 +0200 |
commit | 47b9691f9bde62ea62f6601503997d93ed7ab64c (patch) | |
tree | f0e08b4f37ced066ac18defdf233eec0e91b6cc0 /editor/scenery-editor.cpp | |
parent | 6aabc74a535da1f2d5cf866346b31939d097cbac (diff) |
wa
Diffstat (limited to 'editor/scenery-editor.cpp')
-rw-r--r-- | editor/scenery-editor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/scenery-editor.cpp b/editor/scenery-editor.cpp index 2c205e3e..0ba04028 100644 --- a/editor/scenery-editor.cpp +++ b/editor/scenery-editor.cpp @@ -6,6 +6,7 @@ #include "src/rotation.inl" #include "app.hpp" #include "src/scenery.hpp" +#include "compat/borrowed-ptr.inl" #include <Magnum/Math/Range.h> @@ -68,7 +69,7 @@ auto scenery_editor::get_selected() const -> const scenery_& return _selected; } -bool scenery_editor::is_atlas_selected(const std::shared_ptr<anim_atlas>& atlas) const +bool scenery_editor::is_atlas_selected(const bptr<anim_atlas>& atlas) const { return atlas == _selected.proto.atlas; } |