yet another surviving m.hasSomething -> has something (m)

This commit is contained in:
Paolo Cignoni 2012-03-04 17:48:04 +00:00
parent 3c85446ae4
commit 3ed7a817e2
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ template <class MESH_TYPE> class VertexVisShader : public VisShader<MESH_TYPE>
VertexVisShader(MESH_TYPE &me):VisShader<MESH_TYPE>(me)
{
// la mesh DEVE avere colore per vertice
if(! m.HasPerVertexColor()) assert(0);
if(! HasPerVertexColor(m)) assert(0);
}
void Init() { VV.resize(m.vert.size()); }