Commit f0e690ba authored by Martin Schultz's avatar Martin Schultz
Browse files

by initializing the colorStack also when the pickCache is used, as the
picking renderer reinitializes the colorstack.
parent d042ebb1
......@@ -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
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