diff options
author | Harvey Harrison <[email protected]> | 2016-10-28 16:13:28 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2016-10-28 16:49:08 -0700 |
commit | 68c2395b3098f374973e66ca962a0bde929e0a1d (patch) | |
tree | 8b3488bd6d01da9e144cbd463610574ca54b618d /src/javax/media/j3d/VirtualUniverse.java | |
parent | 3defef76b49fb2263956edb79a3b0815a6d8beba (diff) |
j3dcore: allow Java3D to operate in headless mode when using the noop renderer
[Suggested by Emmanuel Puybaret]
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/javax/media/j3d/VirtualUniverse.java')
-rw-r--r-- | src/javax/media/j3d/VirtualUniverse.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/javax/media/j3d/VirtualUniverse.java b/src/javax/media/j3d/VirtualUniverse.java index 624bccb..42e3725 100644 --- a/src/javax/media/j3d/VirtualUniverse.java +++ b/src/javax/media/j3d/VirtualUniverse.java @@ -262,13 +262,6 @@ ArrayList<Integer> viewIdFreeList = new ArrayList<Integer>(); } } - // Java 3D cannot run in headless mode, so we will throw a - // HeadlessException if isHeadless() is true. This avoids a - // cryptic error message from MasterControl.loadLibraries(). - if (java.awt.GraphicsEnvironment.isHeadless()) { - throw new java.awt.HeadlessException(); - } - // Load the native libraries and create the static // MasterControl object MasterControl.loadLibraries(); |