aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph/curve
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/curve')
-rw-r--r--src/jogl/classes/com/jogamp/graph/curve/Region.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/Region.java b/src/jogl/classes/com/jogamp/graph/curve/Region.java
index e897acba1..0263b102f 100644
--- a/src/jogl/classes/com/jogamp/graph/curve/Region.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/Region.java
@@ -547,6 +547,9 @@ public abstract class Region {
if( null == perf && !DEBUG_INSTANCE ) {
addOutlineShape0(shape, t, rgbaColor);
} else {
+ if( null == perf ) {
+ perfCounter().enable(true);
+ }
addOutlineShape1(shape, t, rgbaColor);
}
markShapeDirty();