diff options
-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); |