aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/share
diff options
context:
space:
mode:
authorKevin Rushforth <[email protected]>2006-10-30 17:29:44 +0000
committerKevin Rushforth <[email protected]>2006-10-30 17:29:44 +0000
commit50454651c5feafbef5dd84aa777882e2b6a87772 (patch)
treef32d706eb31f271ae74fc6ed1b5fcc138ce487ed /src/classes/share
parent273ebc2982d872de46efdcc3d19dc33af2a29271 (diff)
Fixed a remaining problem related to issue 312: Exception while detaching ModelClip from ViewSpecificGroup
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@732 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/classes/share')
-rw-r--r--src/classes/share/javax/media/j3d/GroupRetained.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/classes/share/javax/media/j3d/GroupRetained.java b/src/classes/share/javax/media/j3d/GroupRetained.java
index ccd9d2f..062ac34 100644
--- a/src/classes/share/javax/media/j3d/GroupRetained.java
+++ b/src/classes/share/javax/media/j3d/GroupRetained.java
@@ -1717,9 +1717,8 @@ class GroupRetained extends NodeRetained implements BHLeafInterface {
}
- if (!(this instanceof ViewSpecificGroupRetained)) {
- s.viewLists = viewLists;
- }
+ // Issue 312: always initialize s.viewLists
+ s.viewLists = viewLists;
TargetsInterface transformInterface, switchInterface;
transformInterface = initTransformStates(s, false);