Commit 91467cbd authored by Matthias Möller's avatar Matthias Möller
Browse files

- fixed wrong constructor (Color of a polymesh is Vec4f, defined in PolyMeshTypes.hh)

- this fixes possible assert in debug mode

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19966 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 82091f77
......@@ -689,7 +689,7 @@ void TypeSplatCloudPlugin::addClusterObjects( SplatCloudObject *_splatCloudObjec
}
while( sqrBrightness < MIN_SQR_BRIGHTNESS );
color = PolyMesh::Color( r, g, b );
color = PolyMesh::Color( r, g, b, 1.f );
}
// get quad vertices
......
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