Page MenuHomePhabricator

Control-Points are drawn 'under' the planarFigure
Closed, ResolvedPublic

Description

In the current master, controlpoints are drawn under their corresponding planarFigure.

Controlpoints should always be painted on top the the actual figure.

Event Timeline

[314913]: Merge branch 'bug-11032-control-points-under-figure'

Merged commits:

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.