From f4bc35d44fab522dfdf616a9003eda8f024b4ec9 Mon Sep 17 00:00:00 2001 From: Ken Mc Neill Date: Mon, 21 Dec 2009 13:55:05 +0000 Subject: 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 --- src/classes/share/com/sun/j3d/loaders/objectfile/ObjectFile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/classes/share') 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); -- cgit v1.2.3