Commit 2421474c authored by Dominik Sibbing's avatar Dominik Sibbing

In readVertex: Mesh::Color changed to Vec4uc to make the cast working

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16754 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f5e3f14c
......@@ -457,9 +457,9 @@ DrawMeshT<Mesh>::readVertex(Vertex* _pV,
unsigned int byteCol[2];
for (int col = 0; col < 2; ++col)
{
typename Mesh::Color vecCol(255, 255, 255, 255);
Vec4uc vecCol(255, 255, 255, 255);
if (col == 0 && mesh_.has_vertex_colors()) vecCol = OpenMesh::color_cast<Vec4uc,typename Mesh::Color>(mesh_.color(_vh));
if (col == 0 && mesh_.has_vertex_colors()) vecCol = OpenMesh::color_cast<Vec4uc, typename Mesh::Color>(mesh_.color(_vh));
if (_fh != invalidFH)
{
if (col == 1 && mesh_.has_face_colors() && _fh.idx() >= 0)
......
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