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

Draw-lasso-in-second-pass-and-without-depth-test

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5323 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 35250cc5
......@@ -96,6 +96,8 @@ void SelectionPlugin::initializePlugin() {
line_node_ = new ACG::SceneGraph::LineNode (ACG::SceneGraph::LineNode::PolygonMode,
PluginFunctions::getRootNode(), "Lasso line");
line_node_->set_line_width (2.0);
line_node_->depthFunc (GL_ALWAYS);
line_node_->setTraverseMode (BaseNode::NodeFirst | BaseNode::SecondPass);
line_node_->hide();
//register keys for the plugin
......
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