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%2FSphereDemo.java;h=d89486fb84a592f5d5effb8d408c5992164d313a;hp=9a9b7060889e9a130373d16412f5d44adcd4d07f;hb=335758c2678788d95da705b28dbebe4ba206c103;hpb=ee85b7fbac8b2f5e329b7fa590a0dcf7691a1084 diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/SphereDemo.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/SphereDemo.java index 9a9b706..d89486f 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/SphereDemo.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/SphereDemo.java @@ -1,5 +1,5 @@ /* - * Sixth 3D engine demos. Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * Sixth 3D engine demos. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu * * This program is free software; you can redistribute it and/or * modify it under the terms of version 3 of the GNU Lesser General Public License @@ -56,7 +56,7 @@ public class SphereDemo { public static void main(final String[] args) { final ViewFrame viewFrame = new ViewFrame(); - final ViewContext context = viewFrame.getView().getContext(); + final ViewContext context = viewFrame.getViewPanel().getContext(); final ShapeCollection geometryCollection = context .getRootShapeCollection();