diff --git a/src/app/ui/editor/tool_loop_impl.cpp b/src/app/ui/editor/tool_loop_impl.cpp index 2c0756e46..960d7b5ad 100644 --- a/src/app/ui/editor/tool_loop_impl.cpp +++ b/src/app/ui/editor/tool_loop_impl.cpp @@ -291,7 +291,7 @@ public: Layer* getLayer() override { return m_layer; } const Cel* getCel() override { return nullptr; } bool isTilemapMode() override { return m_tilesMode; }; - bool isManualTilesetMode() const override { return m_tilesetMode == TilesetMode::Manual; }; + bool isManualTilesetMode() const override { return m_tilesetMode == TilesetMode::Manual; } frame_t getFrame() override { return m_frame; } RgbMap* getRgbMap() override { if (!m_rgbMap) { @@ -977,6 +977,12 @@ public: void invalidateDstImage(const gfx::Region& rgn) override { } void copyValidDstToSrcImage(const gfx::Region& rgn) override { } + bool isManualTilesetMode() const override { + // Return false because this is only the preview, so we avoid + // creating a new tileset + return false; + } + bool useMask() override { return false; } Mask* getMask() override { return nullptr; } void setMask(Mask* newMask) override { }