瀏覽代碼

fix erroneous error message

David Rose 16 年之前
父節點
當前提交
2c3681ea07
共有 1 個文件被更改,包括 1 次插入1 次删除
  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));