From 81ccfe6aae87a94034343c4c36f8449365214670 Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Thu, 10 Nov 2005 23:48:01 +0000 Subject: 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 --- src/classes/share/javax/media/j3d/TextureBin.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/classes') 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 -- cgit v1.2.3