From 8c8f6efb41a235736cf6225cc331f971c0974b15 Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Wed, 8 Nov 2006 17:17:42 +0000 Subject: Fixed issue 238: Exception in thread "J3D-MasterControl-1" when setting TextureUnitState to 0-length array git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@744 ba19aa83-45c5-6ac9-afd3-db810772062c --- src/classes/share/javax/media/j3d/Appearance.java | 38 +++++++++++++--------- .../share/javax/media/j3d/AppearanceRetained.java | 2 +- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/src/classes/share/javax/media/j3d/Appearance.java b/src/classes/share/javax/media/j3d/Appearance.java index ca60e41..f7e1eff 100644 --- a/src/classes/share/javax/media/j3d/Appearance.java +++ b/src/classes/share/javax/media/j3d/Appearance.java @@ -702,18 +702,21 @@ public class Appearance extends NodeComponent { throw new CapabilityNotSetException(J3dI18N.getString("Appearance20")); // Do illegal sharing check - for(int j=0; j 0) { Object [] args = new Object[2]; -- cgit v1.2.3