aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/share/javax/media/j3d/TextureBin.java5
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