Commit 452383b8 authored by Craig Watson's avatar Craig Watson

Save one-polygon strokes to SVG as polygons, not polylines

This prevents a bug where a simplified stroke (containing only one
polygon) was incorrectly saved as a polyline, which meant the stroke was
lost when the document was loaded.
parent 8365f2f7
......@@ -170,6 +170,9 @@ bool UBGraphicsStroke::hasPressure()
}
}
else
return true;
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment