Commit bd087c3e authored by Ellen Dekkers's avatar Ellen Dekkers
Browse files

Fixed error when picking faces (buffers had been invalid)

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9027 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 67842f1e
......@@ -675,6 +675,9 @@ void
StripProcessorT<Mesh>::
updatePickingFaces(ACG::GLState& _state ) {
// Make sure, the face buffers are up to date before generating the picking data!
updatePerFaceBuffers();
// Get total number of triangles
// Each strip has two vertices more than triangles
unsigned int n_faces = 0;
......
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