aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessandro Borges <[email protected]>2009-10-30 11:00:31 +0000
committerAlessandro Borges <[email protected]>2009-10-30 11:00:31 +0000
commit262bdd80281d46acbc4ed5a5831ac4adbb366670 (patch)
tree00bc1f26c3fbca1c7d088bd42541190b66e48cf0
parent264cb0fea9dfa7cd24709f6633135f094ae1466c (diff)
Issue number: 634 - GeometryArrayRetained : dirty flag isn't set in setNormal(..)
Submitted by: interactivemesh Reviewed by: aces GeometryArrayRetained : dirty flag isn't set in setNormal(..) 'dirtyFlag |= NORMAL_CHANGED;' is missing in GeometryArrayRetained.setNormal(int index, float normal[]) git-svn-id: https://svn.java.net/svn/j3d-core~svn/branches/dev-1_6@947 ba19aa83-45c5-6ac9-afd3-db810772062c
-rw-r--r--src/classes/share/javax/media/j3d/GeometryArrayRetained.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/classes/share/javax/media/j3d/GeometryArrayRetained.java b/src/classes/share/javax/media/j3d/GeometryArrayRetained.java
index 8a445b1..190029c 100644
--- a/src/classes/share/javax/media/j3d/GeometryArrayRetained.java
+++ b/src/classes/share/javax/media/j3d/GeometryArrayRetained.java
@@ -4656,6 +4656,7 @@ abstract class GeometryArrayRetained extends GeometryRetained{
if(isLive){
geomLock.getLock();
}
+ dirtyFlag |= NORMAL_CHANGED;
this.vertexData[offset] = normal[0];
this.vertexData[offset+1] = normal[1];
this.vertexData[offset+2] = normal[2];