Explorar o código

fix erroneous error message

David Rose %!s(int64=16) %!d(string=hai) anos
pai
achega
2c3681ea07
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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++;
 
   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));