diff --git a/pandatool/src/mayaegg/mayaEggLoader.cxx b/pandatool/src/mayaegg/mayaEggLoader.cxx index b93cb67886..7ad48a7238 100755 --- a/pandatool/src/mayaegg/mayaEggLoader.cxx +++ b/pandatool/src/mayaegg/mayaEggLoader.cxx @@ -777,7 +777,7 @@ int MayaEggGeom::GetVert(EggVertex *vert, EggGroup *context) if (vtx._weights.size()==0) { if (context != 0) { vtx._weights.push_back(MayaEggWeight(1.0, context)); - vtx._sumWeights == 1.0; // [gjeon] to be used in normalizing weights + vtx._sumWeights = 1.0; // [gjeon] to be used in normalizing weights } //remaining_weight = 0.0; }/* else {