Removed ViewContext.
[sixth-3d-demos.git] / src / main / java / eu / svjatoslav / sixth / e3d / examples / RandomPolygonsDemo.java
index 7534148..4f26470 100755 (executable)
@@ -62,7 +62,7 @@ public class RandomPolygonsDemo {
         final ViewFrame viewFrame = new ViewFrame();
 
         final ShapeCollection shapeCollection = viewFrame.getViewPanel()
-                .getContext().getRootShapeCollection();
+                .getRootShapeCollection();
 
         // add grid
         final LineAppearance appearance = new LineAppearance(5, new Color(100,