diff options
Diffstat (limited to 'src/classes/share')
-rw-r--r-- | src/classes/share/javax/media/j3d/RenderBin.java | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/classes/share/javax/media/j3d/RenderBin.java b/src/classes/share/javax/media/j3d/RenderBin.java index 279142c..02d4c5c 100644 --- a/src/classes/share/javax/media/j3d/RenderBin.java +++ b/src/classes/share/javax/media/j3d/RenderBin.java @@ -83,14 +83,13 @@ ArrayList<ShaderBin> sBinUpdateList = new ArrayList<ShaderBin>(); */ ArrayList<TextureBin> tbUpdateList = new ArrayList<TextureBin>(); - /** - * List of Bins that are soleUser that have new renderAtom - * added into, which requires a pre-update screening to - * check if any of its node component changes could have been - * missed because the changes happen when all the render atoms - * are temporarily removed from the bin. - */ - ArrayList updateCheckList = new ArrayList(); +/** + * List of Bins that are soleUser that have new renderAtom added into, which + * requires a pre-update screening to check if any of its node component changes + * could have been missed because the changes happen when all the render atoms + * are temporarily removed from the bin. + */ +ArrayList<NodeComponentUpdate> updateCheckList = new ArrayList<NodeComponentUpdate>(); /** * The number of lights supported by the underlying context. @@ -1865,10 +1864,8 @@ ArrayList<TextureBin> tbUpdateList = new ArrayList<TextureBin>(); if (updateCheckList.size() > 0) { int size = updateCheckList.size(); - NodeComponentUpdate bin; for (int k = 0; k < size; k++) { - bin = (NodeComponentUpdate) updateCheckList.get(k); - bin.updateNodeComponentCheck(); + updateCheckList.get(k).updateNodeComponentCheck(); } updateCheckList.clear(); } |