Browse Source

fix erroneous error message

David Rose 16 years ago
parent
commit
2c3681ea07
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pandatool/src/mayaegg/mayaEggLoader.cxx

+ 1 - 1
pandatool/src/mayaegg/mayaEggLoader.cxx

@@ -802,7 +802,7 @@ int MayaEggGeom::GetVert(EggVertex *vert, EggGroup *context)
   vtx._index = _vert_count++;
   vtx._index = _vert_count++;
 
 
   if ((remaining_weight) > 0.01) {
   if ((remaining_weight) > 0.01) {
-    mayaloader_cat.warning() << "weight munged to 1.0 by " << remaining_weight << " on: " << context->get_name() << " idx:" << vti->_index << endl;
+    mayaloader_cat.warning() << "weight munged to 1.0 by " << remaining_weight << " on: " << context->get_name() << " idx:" << vtx._index << endl;
   }    
   }    
 
 
   _vertexArray.append(MakeMayaPoint(vtx._pos));
   _vertexArray.append(MakeMayaPoint(vtx._pos));