aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-05-22 06:52:59 +0200
committerSven Gothel <[email protected]>2011-05-22 06:52:59 +0200
commitced1a4c644483ad5bfd28ca2bb6a5ffc030b9f1d (patch)
tree26b5ec722eef1735898c18ce8289e25339f90af6 /src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
parentf48f1f68ed51fd83f0fa5282209b556eab39e23e (diff)
parent5ea211cde39be9669d1f2f289abbba460398f82e (diff)
Merge remote-tracking branch 'remotes/rsantina/master'
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java')
-rwxr-xr-xsrc/jogl/classes/com/jogamp/graph/curve/OutlineShape.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
index 7f8e386a1..5b94d6bda 100755
--- a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
@@ -394,7 +394,8 @@ public class OutlineShape implements Comparable<OutlineShape> {
int maxVertexId = 0;
for(int i=0; i<outlines.size(); i++) {
final ArrayList<Vertex> vertices = outlines.get(i).getVertices();
- for(Vertex vert:vertices){
+ for(int pos=0; pos<vertices.size(); pos++) {
+ Vertex vert = vertices.get(pos);
vert.setId(maxVertexId);
maxVertexId++;
}