Commit 6f3d3295 authored by Ellen Dekkers's avatar Ellen Dekkers
Browse files

color bug fixed

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10149 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3fca812a
......@@ -809,23 +809,6 @@ draw_cylinder( const Point& _p0, const Point& _axis, double _r, GLState& _state,
//----------------------------------------------------------------------------
template <class BSplineSurface>
void
BSplineSurfaceNodeT<BSplineSurface>::
set_random_color()
{
// set random color
#ifndef WIN32
srand((unsigned) time(NULL));
#endif
// set_color(OpenMesh::Vec4f(0.2 + double(rand())/double(RAND_MAX)*0.8,
// 0.2 + double(rand())/double(RAND_MAX)*0.8,
// 0.2 + double(rand())/double(RAND_MAX)*0.8,
// 1.0));
}
//----------------------------------------------------------------------------
template <class BSplineSurface>
void
BSplineSurfaceNodeT<BSplineSurface>::
......
......@@ -129,7 +129,6 @@ class BSplineSurfaceNodeT : public BaseNode
KNOTVECTOR = 2
};
void set_random_color();
BSplineSurface& bsplineSurface() { return bsplineSurface_; }
......
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