diff options
author | Sven Gothel <[email protected]> | 2023-03-07 18:29:41 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-07 18:29:41 +0100 |
commit | 1231a2fd45b12ae936d803d0266fba941e8f46b6 (patch) | |
tree | 3c390c4637a02befab53ea304c0b14e177917c97 /src/jogl/classes/com/jogamp/graph/curve | |
parent | b266c94103dae5ad7a117ab7e0fb6b401ca3c85b (diff) |
Graph Perf: OutlineShape: Uncomment all debug code to keep it smaller
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/curve')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java index fb0ff6a7e..b287a833f 100644 --- a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java +++ b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java @@ -968,20 +968,20 @@ public final class OutlineShape implements Comparable<OutlineShape> { * </p> */ public final ArrayList<Vertex> getVertices() { - final boolean updated; + // final boolean updated; if( 0 != ( DIRTY_VERTICES & dirtyBits ) ) { vertices.clear(); for(int i=0; i<outlines.size(); i++) { vertices.addAll(outlines.get(i).getVertices()); } dirtyBits &= ~DIRTY_VERTICES; - updated = true; - } else { - updated = false; - } - if(Region.DEBUG_INSTANCE) { - System.err.println("OutlineShape.getVertices(): o "+outlines.size()+", v "+vertices.size()+", updated "+updated); + // updated = true; + // } else { + // updated = false; } + // if(Region.DEBUG_INSTANCE) { + // System.err.println("OutlineShape.getVertices(): o "+outlines.size()+", v "+vertices.size()+", updated "+updated); + // } return vertices; } |