From d0b9a279056eaca5b66a81c8a4f555e91aa7e166 Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Thu, 11 Aug 2005 06:19:41 +0000 Subject: [PATCH] Tentative change commented out --- pandatool/src/mayaeggimport/mayaEggLoader.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandatool/src/mayaeggimport/mayaEggLoader.cxx b/pandatool/src/mayaeggimport/mayaEggLoader.cxx index d5394c7a0d..74d13446d4 100755 --- a/pandatool/src/mayaeggimport/mayaEggLoader.cxx +++ b/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