diff options
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java b/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java index 1876b8057..52a17f49a 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java +++ b/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java @@ -121,8 +121,8 @@ public abstract class Shape { private Listener onMoveListener = null; - public Shape(final Factory<? extends Vertex> factory, final int renderModes) { - this.vertexFactory = factory; + public Shape(final int renderModes) { + this.vertexFactory = OutlineShape.getDefaultVertexFactory(); this.renderModes = renderModes; this.box = new AABBox(); } @@ -132,8 +132,6 @@ public abstract class Shape { /** Return the optional symbolic name for this shape. */ public final int getName() { return this.name; } - public final Vertex.Factory<? extends Vertex> getVertexFactory() { return vertexFactory; } - /** Returns true if this shape is enabled and hence visible, otherwise false. */ public final boolean isEnabled() { return enabled; } /** Enable or disable this shape, i.e. its visibility. */ |