diff options
Diffstat (limited to 'src/classes')
-rw-r--r-- | src/classes/share/javax/media/j3d/GroupRetained.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/classes/share/javax/media/j3d/GroupRetained.java b/src/classes/share/javax/media/j3d/GroupRetained.java index 80b6e81..b006df0 100644 --- a/src/classes/share/javax/media/j3d/GroupRetained.java +++ b/src/classes/share/javax/media/j3d/GroupRetained.java @@ -1331,6 +1331,12 @@ class GroupRetained extends NodeRetained implements BHLeafInterface { int i=0; NodeRetained child; + // Fix for issue 540 + if (children.size()==0) { + return; + } + // End fix for issue 540 + for (i = 0; i < nchild; i++) { child = (NodeRetained)children.get(i); if(child != null) |