From 262bdd80281d46acbc4ed5a5831ac4adbb366670 Mon Sep 17 00:00:00 2001 From: Alessandro Borges Date: Fri, 30 Oct 2009 11:00:31 +0000 Subject: 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 --- src/classes/share/javax/media/j3d/GeometryArrayRetained.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/classes') 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]; -- cgit v1.2.3