mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 18:21:44 +00:00
Fix random crash using Eyedropper with Alt+click
This was a problem related to uninitialized memory in Render class. The Render::renderLayer() member function was accessing to an invalid m_previewImage pointer.
This commit is contained in:
parent
59cdae7715
commit
557c7854bc
@ -328,6 +328,9 @@ Render::Render()
|
||||
, m_bgType(BgType::TRANSPARENT)
|
||||
, m_bgCheckedSize(16, 16)
|
||||
, m_globalOpacity(255)
|
||||
, m_selectedLayer(nullptr)
|
||||
, m_selectedFrame(-1)
|
||||
, m_previewImage(nullptr)
|
||||
, m_onionskinType(OnionskinType::NONE)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user