You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the information given from the user in ticket 2600, we can now reproduce the issue: tile manual mode, change to a regular layer, with the preview window visible, it crashes in this place with cel_layer is not a tilemap but the cel_image is a IMAGE_TILEMAP.
if (area.size.w < 1 ||
area.size.h < 1)
return;
auto tilemapLayer = static_cast<const LayerTilemap*>(cel_layer);
doc::Grid grid = tilemapLayer->tileset()->grid(); // 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.
grid.origin(grid.origin() + gfx::Point(celBounds.origin()));
// Is the 'm_previewTileset' set to be used with this layer?const Tileset* tileset;
if (m_previewTileset && cel &&
checkIfWeShouldUsePreview(cel)) {
tileset = m_previewTileset;
}
> Aseprite.exe!render::Render::renderCel(doc::Image * dst_image, const doc::Cel * cel, const doc::Image * cel_image, const doc::Layer * cel_layer, const doc::Palette * pal, const gfx::RectT<double> & celBounds, const gfx::ClipT<int> & area, void(*)(doc::Image *, const doc::Image *, const doc::Palette *, const gfx::ClipT<double> &, const int, const doc::BlendMode, const double, const double, const bool) compositeImage, const int opacity, const doc::BlendMode blendMode) Line 1246 C++
Aseprite.exe!render::Render::renderCel(doc::Image * dst_image, const doc::Cel * cel, const doc::Sprite * sprite, const doc::Image * cel_image, const doc::Layer * cel_layer, const doc::Palette * pal, const gfx::RectT<double> & celBounds, const gfx::ClipT<int> & area, const int opacity, const doc::BlendMode blendMode) Line 1216 C++
Aseprite.exe!render::Render::renderLayer(const doc::Layer * layer, doc::Image * image, const gfx::ClipT<int> & area, const int frame, void(*)(doc::Image *, const doc::Image *, const doc::Palette *, const gfx::ClipT<double> &, const int, const doc::BlendMode, const double, const double, const bool) compositeImage, const bool render_background, const bool render_transparent, const doc::BlendMode blendMode, bool isSelected) Line 1182 C++
Aseprite.exe!render::Render::renderLayer(const doc::Layer * layer, doc::Image * image, const gfx::ClipT<int> & area, const int frame, void(*)(doc::Image *, const doc::Image *, const doc::Palette *, const gfx::ClipT<double> &, const int, const doc::BlendMode, const double, const double, const bool) compositeImage, const bool render_background, const bool render_transparent, const doc::BlendMode blendMode, bool isSelected) Line 1149 C++
Aseprite.exe!render::Render::renderSpriteLayers(doc::Image * dstImage, const gfx::ClipT<double> & area, int frame, void(*)(doc::Image *, const doc::Image *, const doc::Palette *, const gfx::ClipT<double> &, const int, const doc::BlendMode, const double, const double, const bool) compositeImage) Line 808 C++
Aseprite.exe!render::Render::renderSprite(doc::Image * dstImage, const doc::Sprite * sprite, int frame, const gfx::ClipT<double> & area) Line 740 C++
Aseprite.exe!app::Editor::drawOneSpriteUnclippedRect(ui::Graphics * g, const gfx::RectT<int> & spriteRectToDraw, int dx, int dy) Line 701 C++
Aseprite.exe!app::Editor::drawSpriteUnclippedRect(ui::Graphics * g, const gfx::RectT<int> & _rc) Line 857 C++
Aseprite.exe!app::Editor::onPaint(ui::PaintEvent & ev) Line 2140 C++
Aseprite.exe!ui::Widget::paintEvent(ui::Graphics * graphics, const bool isBg) Line 1140 C++
Aseprite.exe!ui::Widget::onProcessMessage(ui::Message * msg) Line 1481 C++
Aseprite.exe!app::Editor::onProcessMessage(ui::Message * msg) Line 2034 C++
Aseprite.exe!ui::Manager::sendMessageToWidget(ui::Message * msg, ui::Widget * widget) Line 1867 C++
Aseprite.exe!ui::Manager::pumpQueue() Line 1758 C++
Aseprite.exe!ui::Manager::dispatchMessages() Line 830 C++
Aseprite.exe!ui::Manager::run() Line 267 C++
Aseprite.exe!app::App::run() Line 424 C++
Aseprite.exe!app_main(int argc, char * * argv) Line 105 C++
Aseprite.exe!wWinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, wchar_t * lpCmdLine, int nCmdShow) Line 41 C++
The text was updated successfully, but these errors were encountered:
We have receive a couple of similar crashes:
https://igarastudio.zendesk.com/agent/tickets/2489
https://igarastudio.zendesk.com/agent/tickets/2517
https://igarastudio.zendesk.com/agent/tickets/2588
https://igarastudio.zendesk.com/agent/tickets/2600
From the information given from the user in ticket 2600, we can now reproduce the issue: tile manual mode, change to a regular layer, with the preview window visible, it crashes in this place with
cel_layer
is not a tilemap but thecel_image
is aIMAGE_TILEMAP
.The text was updated successfully, but these errors were encountered: