shape: Fixed reset api.

Added stroke's RLE reset in shape reset function.
This commit is contained in:
Michal Szczecinski 2021-02-02 11:00:30 +01:00 committed by Hermet Park
parent 3dfc3c4943
commit ba2bd2383d

View file

@ -465,6 +465,7 @@ void shapeDelOutline(SwShape* shape, uint32_t tid)
void shapeReset(SwShape* shape)
{
rleReset(shape->rle);
rleReset(shape->strokeRle);
shape->rect = false;
_initBBox(shape->bbox);
}