From 5dcf9e97a812a00d327389c64d6c3e4443749d95 Mon Sep 17 00:00:00 2001 From: Chien Yang Date: Mon, 18 Dec 2006 22:34:45 +0000 Subject: Fixed issue 424 : JOALMixer requires the default Viewer's setUserHeadToVworldEnable setting to true git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@144 9497e636-51bd-65ba-982d-a4982e1767a5 --- src/classes/share/com/sun/j3d/utils/universe/Viewer.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/classes/share/com/sun/j3d/utils/universe/Viewer.java b/src/classes/share/com/sun/j3d/utils/universe/Viewer.java index 46afef2..253a9a0 100644 --- a/src/classes/share/com/sun/j3d/utils/universe/Viewer.java +++ b/src/classes/share/com/sun/j3d/utils/universe/Viewer.java @@ -372,6 +372,10 @@ public class Viewer { // Create a View and attach the Canvas3D and the physical // body and environment to the view. view = new View(); + + // Fix to issue 424 + view.setUserHeadToVworldEnable(true); + // Add it to the Viewer's HashMap. synchronized (viewerMap) { Viewer.viewerMap.put(view, this); @@ -444,6 +448,10 @@ public class Viewer { // Create a View and attach the Canvas3D and the physical // body and environment to the view. view = new View(); + + // Fix to issue 424 + view.setUserHeadToVworldEnable(true); + // Add it to the Viewer's HashMap. synchronized (viewerMap) { Viewer.viewerMap.put(view, this); -- cgit v1.2.3