summaryrefslogtreecommitdiffstats
path: root/src/classes/share/com/sun/j3d
diff options
context:
space:
mode:
authorKen Mc Neill <[email protected]>2009-12-21 13:55:05 +0000
committerHarvey Harrison <[email protected]>2011-12-31 15:05:16 -0800
commitf4bc35d44fab522dfdf616a9003eda8f024b4ec9 (patch)
treeb7af705048feaabc04f431a2e19539dec861aff7 /src/classes/share/com/sun/j3d
parente6292ad2b0901ee4e09152d664bd7abd60ba746a (diff)
j3dutils: cherry-pick fix from svn trunk issue 638
Issue number: 638 Obtained from: Submitted by: mcneillk Reviewed by: git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@198 9497e636-51bd-65ba-982d-a4982e1767a5 Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes/share/com/sun/j3d')
-rw-r--r--src/classes/share/com/sun/j3d/loaders/objectfile/ObjectFile.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classes/share/com/sun/j3d/loaders/objectfile/ObjectFile.java b/src/classes/share/com/sun/j3d/loaders/objectfile/ObjectFile.java
index 1cca85d..7d116f9 100644
--- a/src/classes/share/com/sun/j3d/loaders/objectfile/ObjectFile.java
+++ b/src/classes/share/com/sun/j3d/loaders/objectfile/ObjectFile.java
@@ -1191,8 +1191,8 @@ public class ObjectFile implements Loader {
// Put geometry into Shape3d
Shape3D shape = new Shape3D();
-
- shape.setGeometry(gi.getGeometryArray(true, true, false));
+ // issue 638; default to BY_COPY for consistency
+ shape.setGeometry(gi.getGeometryArray(false, false, false));
String matName = (String)groupMaterials.get(curname);
materials.assignMaterial(matName, shape);