Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
QDS 4.7.2
-
None
Description
When using a ShapePath, the 2D view sometimes renders the shape path incorrectly.
This shape between the two squares should be a single white hourglass, but it's doubled.
If I modify the paths it will re-render correctly:
Shape code:
Shape {
id: shape
anchors.centerIn: parent
rotation: -45
preferredRendererType: Shape.CurveRenderer ShapePath {
strokeWidth: 1
fillColor: "#ffffff" startX: 0
startY: 0 PathQuad {
relativeX: 0
relativeY: 46
relativeControlX: 23
relativeControlY: 23
}
PathLine {
relativeX: 40
relativeY: 0
}
PathQuad {
relativeX: 0
relativeY: -46
relativeControlX: -23
relativeControlY: -23
}
}
}