aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChien Yang <[email protected]>2007-05-15 05:59:40 +0000
committerChien Yang <[email protected]>2007-05-15 05:59:40 +0000
commit18276a79583f338b3940dde5febf47f67ef6f61d (patch)
tree06f4379a8fdc0aa13d19d96e5813d3ff53b00f1d /src
parent1617cf4e131324529ad4a51a483456886a345b8a (diff)
Fixed to Issue 488 : ImageComponent3D bug with by-reference images
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@840 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src')
-rw-r--r--src/classes/share/javax/media/j3d/ImageComponent3DRetained.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/classes/share/javax/media/j3d/ImageComponent3DRetained.java b/src/classes/share/javax/media/j3d/ImageComponent3DRetained.java
index ed8c575..22e5cc1 100644
--- a/src/classes/share/javax/media/j3d/ImageComponent3DRetained.java
+++ b/src/classes/share/javax/media/j3d/ImageComponent3DRetained.java
@@ -46,8 +46,9 @@ class ImageComponent3DRetained extends ImageComponentRetained {
geomLock.getLock();
- if(byReference) {
- setRefImage(image,0);
+ if(byReference) {
+ // Fix to issue 488.
+ setRefImage(image, index);
}
if(imageData == null) {