diff options
author | Chien Yang <[email protected]> | 2006-11-01 01:38:15 +0000 |
---|---|---|
committer | Chien Yang <[email protected]> | 2006-11-01 01:38:15 +0000 |
commit | a204eaa797ef899a0956c55a15d9badfd875637a (patch) | |
tree | 5a9b29bdbc070acccf781f98b8a9868eed312177 /src/classes/share | |
parent | 39d2447b26f46265755cc666376c98374bd52bd4 (diff) |
Fixed Issue 374 : Exception when calling Background.setImage on live scene graph
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@737 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/classes/share')
-rw-r--r-- | src/classes/share/javax/media/j3d/BackgroundRetained.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/classes/share/javax/media/j3d/BackgroundRetained.java b/src/classes/share/javax/media/j3d/BackgroundRetained.java index 6ed3046..971117c 100644 --- a/src/classes/share/javax/media/j3d/BackgroundRetained.java +++ b/src/classes/share/javax/media/j3d/BackgroundRetained.java @@ -248,14 +248,12 @@ class BackgroundRetained extends LeafRetained { if (source.isLive()) { if (texture != null) { texture.clearLive(refCount); - texture.removeUser(this); } } initImage(img); if (source.isLive()) { if (texture != null) { texture.setLive(inBackgroundGroup, refCount); - texture.addUser(this); } sendMessage(IMAGE_CHANGED, |