mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-02 11:59:58 +00:00
Fix crash using Import Sprite Sheet (active tool = nullptr)
This commit is contained in:
parent
5ad681281d
commit
e316a49cb9
@ -1691,7 +1691,7 @@ void ContextBar::updateForTool(tools::Tool* tool)
|
||||
((isPaint && (hasInkWithOpacity || hasImageBrush)) ||
|
||||
(isEffect));
|
||||
|
||||
const bool withDithering =
|
||||
const bool withDithering = tool &&
|
||||
(tool->getInk(0)->withDitheringOptions() ||
|
||||
tool->getInk(1)->withDitheringOptions());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user