Commit 2d95847e authored by Jan Möbius's avatar Jan Möbius

Merge branch 'hotFixPickingRendererBadIndices' into 'master'

hotfix patch for pickingRenderer

Closes OpenFlipper-Free#150

See merge request !91
parents 29836c4f f0e690ba
......@@ -405,6 +405,8 @@ int glViewer::pickFromCache( ACG::SceneGraph::PickTarget _pickTarget,
rgba[2] = pixels[hit][2];
rgba[3] = pixels[hit][3];
//initialize colorstack and translate color to index
properties_.glState().pick_init(true);
std::vector<size_t> rv = properties_.glState().pick_color_to_stack (rgba);
// something wrong with the color stack ?
......
Markdown is supported
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