From: luukkainen Date: Tue, 20 Jan 2009 15:44:28 +0000 (+0000) Subject: 3D augmentation should work correctly (still contains some experimental constants... X-Git-Tag: simantics-1.19.0~20^2~11 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;ds=inline;h=02a43d271b07a27143a0a88764c74852f93e73ce;p=simantics%2F3d.git 3D augmentation should work correctly (still contains some experimental constants in projection calculations) git-svn-id: https://www.simantics.org/svn/simantics/3d/branches/dev@8723 ac1ea38d-2e2b-0410-8846-a27921b304fc --- 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..54da729e 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 @@ -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);