diff options
author | Chien Yang <[email protected]> | 2006-12-18 22:34:45 +0000 |
---|---|---|
committer | Chien Yang <[email protected]> | 2006-12-18 22:34:45 +0000 |
commit | 5dcf9e97a812a00d327389c64d6c3e4443749d95 (patch) | |
tree | e471144d969023b02b5322a79bbec460431fc7d6 /src | |
parent | 9a18a3b5499643bc4a33c3920c25b87689a5eb0c (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/classes/share/com/sun/j3d/utils/universe/Viewer.java | 8 |
1 files changed, 8 insertions, 0 deletions
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); |