mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Copy user data when we copy a cel
This commit is contained in:
parent
2f7e36a95e
commit
9e6e303ccd
@ -73,6 +73,7 @@ Cel* create_cel_copy(const Cel* srcCel,
|
||||
|
||||
dstCel->setPosition(srcCel->position());
|
||||
dstCel->setOpacity(srcCel->opacity());
|
||||
dstCel->data()->setUserData(srcCel->data()->userData());
|
||||
|
||||
return dstCel.release();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user