X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fexamples%2FRandomPolygonsDemo.java;h=4f264704f6b45d95df94e8901772f34621444d8e;hb=04e601452e1e31d14f13b50c1fce9cc6081a8bf2;hp=5ff3bfdcca759e75e82b49d01473b5b1e1a8becb;hpb=1fd0773e945dc21967104c420ce7829d3679e5ff;p=sixth-3d-demos.git diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java index 5ff3bfd..4f26470 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java @@ -61,8 +61,8 @@ public class RandomPolygonsDemo { final ViewFrame viewFrame = new ViewFrame(); - final ShapeCollection shapeCollection = viewFrame.getView() - .getContext().getRootShapeCollection(); + final ShapeCollection shapeCollection = viewFrame.getViewPanel() + .getRootShapeCollection(); // add grid final LineAppearance appearance = new LineAppearance(5, new Color(100,