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

Initialize Picking namebuffer for Qt Base Viewer

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 026bd26e
......@@ -92,6 +92,10 @@ bool QtBaseViewer::pick( SceneGraph::PickTarget _pickTarget,
GLuint selectionBuffer[ SELECTION_BUFFER_SIZE ],
nameBuffer[ NAME_STACK_SIZE ];
// Initialize Namebuffer
nameBuffer[0] = 0;
nameBuffer[1] = 0;
const GLMatrixd& modelview = glstate_->modelview();
const GLMatrixd& projection = glstate_->projection();
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