X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d-demos.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fexamples%2FRandomPolygonsDemo.java;h=75341484716936ada260a7ec2fe077a452e70fa9;hp=5ff3bfdcca759e75e82b49d01473b5b1e1a8becb;hb=335758c2678788d95da705b28dbebe4ba206c103;hpb=1fd0773e945dc21967104c420ce7829d3679e5ff 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..7534148 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/RandomPolygonsDemo.java @@ -61,7 +61,7 @@ public class RandomPolygonsDemo { final ViewFrame viewFrame = new ViewFrame(); - final ShapeCollection shapeCollection = viewFrame.getView() + final ShapeCollection shapeCollection = viewFrame.getViewPanel() .getContext().getRootShapeCollection(); // add grid