X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.proconf.g3d%2Fsrc%2Forg%2Fsimantics%2Fproconf%2Fg3d%2Fcommon%2FJmeSinglePassRenderingComponent.java;h=e11f92fc7d704c6163e835db020aa292c7fbc14c;hb=9ad91ae4a059a4c7b219d2560c5b8b8ed1c5f184;hp=fb9aff60b857785196d1e80514b6527ecb5d4ca1;hpb=477a3eae417fe71addfcf8f87dab41f87151a384;p=simantics%2F3d.git diff --git a/org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/common/JmeSinglePassRenderingComponent.java b/org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/common/JmeSinglePassRenderingComponent.java index fb9aff60..e11f92fc 100644 --- a/org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/common/JmeSinglePassRenderingComponent.java +++ b/org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/common/JmeSinglePassRenderingComponent.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007 VTT Technical Research Centre of Finland and others. + * Copyright (c) 2007- VTT Technical Research Centre of Finland. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -73,7 +73,7 @@ public class JmeSinglePassRenderingComponent extends JmeRenderingComponent { private boolean showNormals = false; private WireframeState ws = null; - private boolean projectionUpdated = false; + protected boolean projectionUpdated = false; public JmeSinglePassRenderingComponent() { @@ -313,7 +313,7 @@ public class JmeSinglePassRenderingComponent extends JmeRenderingComponent { } } - private void updateProjection() { + protected void updateProjection() { switch (projectionPolicy) { case PERSPECTIVE_PROJECTION: cam.setParallelProjection(false);