diff options
Diffstat (limited to 'src/classes')
-rw-r--r-- | src/classes/share/javax/media/j3d/GeometryAtom.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/classes/share/javax/media/j3d/GeometryAtom.java b/src/classes/share/javax/media/j3d/GeometryAtom.java index ce67bd7..d49040d 100644 --- a/src/classes/share/javax/media/j3d/GeometryAtom.java +++ b/src/classes/share/javax/media/j3d/GeometryAtom.java @@ -164,7 +164,7 @@ class GeometryAtom extends Object implements BHLeafInterface, NnuId { // If renderAtom is not scoped to this view, don't even // bother creating the renderAtom - synchronized (renderAtoms) { + synchronized (lockObj) { index = view.viewIndex; if (index >= renderAtoms.length) { @@ -236,9 +236,8 @@ class GeometryAtom extends Object implements BHLeafInterface, NnuId { } } } + return (renderAtoms[index]); } - - return (renderAtoms[index]); } // If the renderAtom is transparent, then make sure that the // value is up-to-date |