Commit ebfb5edb authored by Lionel's avatar Lionel

Disabled display lists for obstacle nodes.

parent 2cc7c1fd
......@@ -101,6 +101,7 @@ ObstacleGroupNode::update(double robotX, double robotY, double robotZ,
sd->getOrCreateStateSet()->setMode(GL_BLEND, osg::StateAttribute::ON);
sd->setColor(osg::Vec4(r, g, b, 1.0f));
sd->setUseDisplayList(false);
geode->addDrawable(sd);
}
......
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