Skip to content

Commit a3a5611

Browse files
committed
Modified RadarVolume to suppress rendering when the vertex buffer is empty.
1 parent 8b5b40e commit a3a5611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gov/nasa/worldwindx/examples/RadarVolume.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ protected boolean isOrderedRenderableValid(DrawContext dc)
233233
{
234234
ShapeData shapeData = this.getCurrent();
235235

236-
return shapeData.triangleVertices != null;
236+
return shapeData.triangleVertices != null && shapeData.triangleVertices.capacity() > 0;
237237
}
238238

239239
@Override

0 commit comments

Comments
 (0)