Commit 36eb6bbb authored by Ellen Dekkers's avatar Ellen Dekkers

bugfix: check for point vector of size 0

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10491 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c4c706b5
......@@ -96,6 +96,9 @@ void
PointNode::
draw(GLState& /* _state */ , DrawModes::DrawMode _drawMode)
{
if (points_.size() == 0)
return;
// points
if (_drawMode & DrawModes::POINTS)
{
......
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