diff options
author | Sven Gothel <[email protected]> | 2023-04-28 12:19:07 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-04-28 12:19:07 +0200 |
commit | 386f9652e0169b0aa7f6ead1bf230d5d67d00a38 (patch) | |
tree | a20076c4b3cf0ebe247f276dfa4e3bd9968a33a2 /src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java | |
parent | b7ef5e6fac72e0ed1c19eae27801c14772c2ba46 (diff) |
GraphUI GraphShape: {update->reset}GLRegion() and reserve vertices+indices if (rect) border is present
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java b/src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java index dd4398c63..c579cb943 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java +++ b/src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java @@ -192,7 +192,7 @@ public class GlyphShape extends GraphShape { tmp.setToTranslation(-sbox.getMinX(), -sbox.getMinY() + glyph.getBounds().getMinY()); shape.setSharpness(oshapeSharpness); - updateGLRegion(glp, gl, null, regionVertCount, regionIdxCount); + resetGLRegion(glp, gl, null, regionVertCount, regionIdxCount); region.addOutlineShape(shape, tmp, rgbaColor); box.resize(tmp.transform(sbox, new AABBox())); setRotationPivot( box.getCenter() ); |