diff --git a/src/artofillusion/polymesh/PolyMesh.java b/src/artofillusion/polymesh/PolyMesh.java index ca1ebd4..c2c9f91 100644 --- a/src/artofillusion/polymesh/PolyMesh.java +++ b/src/artofillusion/polymesh/PolyMesh.java @@ -5925,19 +5925,14 @@ else if (hardnum == 1) { newFaceVert[j][k] = fv[k]; if (fv[k] < vertices.length) { - boolean found = false; for (int l = 0; l < oldFaceVert[orFace].length; l++) { if (oldFaceVert[orFace][l] == fv[k]) { newFaceVertFaceRef[j][k] = orFace; newFaceVertIndexRef[j][k] = l; - found = true; } } - if (!found) { - System.out.println("Not found!!"); - } } else { @@ -6000,19 +5995,14 @@ else if (oldParamVal[i] instanceof FaceVertexParameterValue) double[] coef = vertParamInfo[newFaceVert[j][k] - vertices.length].coef; for (int l = 0; l < vf.length; ++l) { - boolean found = false; for (int m = 0; m < oldFaceVert[orFace].length; m++) { if (oldFaceVert[orFace][m] == vf[l]) { val += coef[l] * fvpv.getValue(orFace, m); - found = true; break; } } - if (!found) { - System.out.println("Not found!!"); - } } newval[j][k] = val; }