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.
preferencesAboutTextFull
Craig Watson 8 years ago
parent 8365f2f7a6
commit 452383b8cc
  1. 3
      src/domain/UBGraphicsStroke.cpp

@ -170,6 +170,9 @@ bool UBGraphicsStroke::hasPressure()
}
}
else
return true;
return false;
}

Loading…
Cancel
Save