diff options
author | Kevin Rushforth <[email protected]> | 2005-11-10 23:48:01 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2005-11-10 23:48:01 +0000 |
commit | 81ccfe6aae87a94034343c4c36f8449365214670 (patch) | |
tree | 8f0b07759f2090f1961bef96275eaea39502be30 /src/classes/share | |
parent | aaccc0e8b0a810bb3b71c76d6cf2c097468a9bb6 (diff) |
Issue 67 : Transparency mode update didn't get reflected correctly.
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@460 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/classes/share')
-rw-r--r-- | src/classes/share/javax/media/j3d/TextureBin.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/classes/share/javax/media/j3d/TextureBin.java b/src/classes/share/javax/media/j3d/TextureBin.java index 3e1c91f..49d9dbf 100644 --- a/src/classes/share/javax/media/j3d/TextureBin.java +++ b/src/classes/share/javax/media/j3d/TextureBin.java @@ -1520,7 +1520,6 @@ class TextureBin extends Object implements ObjectUpdate { startList = r; r.nextMap = null; r.prevMap = null; - startList.dirtyAttrsAcrossRms = RenderMolecule.ALL_DIRTY_BITS; } else { r.nextMap = startList; @@ -1528,7 +1527,9 @@ class TextureBin extends Object implements ObjectUpdate { startList = r; startList.nextMap.checkEquivalenceWithLeftNeighbor(r,RenderMolecule.ALL_DIRTY_BITS); } - + // Issue 67 : since we are adding the new RM at the head, we must + // set all dirty bits unconditionally + startList.dirtyAttrsAcrossRms = RenderMolecule.ALL_DIRTY_BITS; } else { // Insert the renderMolecule next to a RM that has equivalent |