diff options
author | Sven Gothel <[email protected]> | 2023-04-28 12:36:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-04-28 12:36:47 +0200 |
commit | bd10664189e944699492008776819a28a2d95ecf (patch) | |
tree | 85242252df92eb5c94e06e40e561d884cc0625c0 /src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java | |
parent | b029e3388667be46250948565440f92917cb50ef (diff) |
GraphUI GraphShape: Apply {update->reset}GLRegion()
See commit 386f9652e0169b0aa7f6ead1bf230d5d67d00a38
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java b/src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java index d11e3bdb1..90433a45e 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java +++ b/src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java @@ -91,7 +91,7 @@ public class Rectangle extends GraphShape { shape.setIsQuadraticNurbs(); shape.setSharpness(oshapeSharpness); - updateGLRegion(glp, gl, null, shape); + resetGLRegion(glp, gl, null, shape); region.addOutlineShape(shape, null, rgbaColor); box.resize(shape.getBounds()); setRotationPivot( box.getCenter() ); |