In the current master, controlpoints are drawn under their corresponding planarFigure.
Controlpoints should always be painted on top the the actual figure.
In the current master, controlpoints are drawn under their corresponding planarFigure.
Controlpoints should always be painted on top the the actual figure.
[314913]: Merge branch 'bug-11032-control-points-under-figure'
2012-02-20 13:08:53 Markus Engel [79de7f]
using GL-offset for rendering control points as well
control points are now painted on top of figure
The false behaviour has been fixed.
The problem was that a new z-offset has been introduced for the rendering of PlanarFigures. This makes sure that PlanarFigures are always painted 'on top of' the image data.
This offset has been used for the actual polylines of the PlanarFigure but not for the control points. Thus the control-points were painted below the polylines.
The solution was to use the same offset for the control-points as well.