Browse Source

Tentative change commented out

Josh Yelon 20 years ago
parent
commit
d0b9a27905
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pandatool/src/mayaeggimport/mayaEggLoader.cxx

+ 2 - 2
pandatool/src/mayaeggimport/mayaEggLoader.cxx

@@ -656,8 +656,8 @@ void MayaEggLoader::CreateSkinCluster(MayaEggMesh *M)
       values[vert->_index * joints.size() + joint->_index] = (float)strength;
     }
   }
-  for (unsigned int i=0; i<1024; i++)
-    skinCluster.setWeights(M->_shape_dag_path, component.object(), i, 0.0, false, &oldvalues);
+  //  for (unsigned int i=0; i<1024; i++)
+  //    skinCluster.setWeights(M->_shape_dag_path, component.object(), i, 0.0, false, &oldvalues);
   skinCluster.setWeights(M->_shape_dag_path, component.object(), influenceIndices, values, false, &oldvalues);
 
   for (unsigned int i=0; i<joints.size(); i++) {