diff options
author | Kevin Rushforth <[email protected]> | 2006-10-30 17:29:44 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2006-10-30 17:29:44 +0000 |
commit | 50454651c5feafbef5dd84aa777882e2b6a87772 (patch) | |
tree | f32d706eb31f271ae74fc6ed1b5fcc138ce487ed /src | |
parent | 273ebc2982d872de46efdcc3d19dc33af2a29271 (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')
-rw-r--r-- | src/classes/share/javax/media/j3d/GroupRetained.java | 5 |
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); |