mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-24 03:40:14 +00:00
Fix crash trying to paint in a group layer
This commit is contained in:
parent
2f91122c26
commit
389ea666e5
@ -297,7 +297,7 @@ bool StandbyState::onMouseDown(Editor* editor, MouseMessage* msg)
|
||||
}
|
||||
|
||||
// Start the Tool-Loop
|
||||
if (layer) {
|
||||
if (layer && layer->isImage()) {
|
||||
// Disable layer edges to avoid showing the modified cel
|
||||
// information by ExpandCelCanvas (i.e. the cel origin is changed
|
||||
// to 0,0 coordinate.)
|
||||
|
Loading…
x
Reference in New Issue
Block a user