Browse Source

Merge pull request #613 from jbousquie/fix.Ribbon.ClosePath.Artifact

report closed ribbon fix to tube mesh
Raanan Weber 10 years ago
parent
commit
8f5898a6a3
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/Mesh/babylon.mesh.ts

+ 0 - 1
src/Mesh/babylon.mesh.ts

@@ -1655,7 +1655,6 @@
                         rotated = Vector3.TransformCoordinates(normal, rotationMatrix).scaleInPlace(rad).add(path[i]);
                         rotated = Vector3.TransformCoordinates(normal, rotationMatrix).scaleInPlace(rad).add(path[i]);
                         circlePath.push(rotated);
                         circlePath.push(rotated);
                     }
                     }
-                    circlePath.push(circlePath[0]);
                     circlePaths[index] = circlePath;
                     circlePaths[index] = circlePath;
                     index++;
                     index++;
                 }
                 }