From 02a43d271b07a27143a0a88764c74852f93e73ce Mon Sep 17 00:00:00 2001 From: luukkainen Date: Tue, 20 Jan 2009 15:44:28 +0000 Subject: [PATCH] 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 --- .../proconf/g3d/common/JmeSinglePassRenderingComponent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.1