From 50454651c5feafbef5dd84aa777882e2b6a87772 Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Mon, 30 Oct 2006 17:29:44 +0000 Subject: 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 --- src/classes/share/javax/media/j3d/GroupRetained.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3