Commit d34b6bd3 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'fixPolylineCirclePickingGLCompat' into 'master'

fixes picking of polyline circles for compatibility profiles.

See merge request !85
parents 29db0967 eb6eac38
......@@ -399,10 +399,10 @@ pick(GLState& _state , PickTarget _target)
for (size_t i = 0; i < primitives_.size(); ++i)
glTranslatef(primitives_[i].position[0], primitives_[i].position[1], primitives_[i].position[2]);
_state.translate(primitives_[i].position[0], primitives_[i].position[1], primitives_[i].position[2]);
draw_obj(_state, i);
Supports Markdown
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