Skip to content

Commit

Permalink
Removing debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
peteihis committed May 23, 2024
1 parent df890ce commit 256f78b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/artofillusion/polymesh/PolyMesh.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 256f78b

Please sign in to comment.