diff options
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/Group.java')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/Group.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/Group.java b/src/graphui/classes/com/jogamp/graph/ui/Group.java index 391c0170b..4e10d071f 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/Group.java +++ b/src/graphui/classes/com/jogamp/graph/ui/Group.java @@ -443,7 +443,7 @@ public class Group extends Shape implements Container { } } renderedShapes = iShapes; - if( null != border ) { + if( null != border && border.isVisible() ) { border.draw(gl, renderer); } } @@ -471,7 +471,7 @@ public class Group extends Shape implements Container { pmv.popMv(); } } - if( null != border ) { + if( null != border && border.isVisible() ) { border.drawToSelect(gl, renderer); } } |