commit 82b62e04d6ba4515db6013b0ce9a8f4688f8df25
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Fri Jun 9 10:05:12 2023 +0200

    one more fix for displaying normals.

diff --git a/src/main/java/org/distorted/library/main/DistortedLibrary.java b/src/main/java/org/distorted/library/main/DistortedLibrary.java
index 7d59106..d07c5a1 100644
--- a/src/main/java/org/distorted/library/main/DistortedLibrary.java
+++ b/src/main/java/org/distorted/library/main/DistortedLibrary.java
@@ -599,9 +599,8 @@ public class DistortedLibrary
 
       EffectQueue.send(queues, mMainOITProgramH, distance, mipmap, projection, inflate, 1 );
       GLES30.glDrawArrays(GLES30.GL_TRIANGLE_STRIP, 0, mesh.getNumVertices() );
-      mMainOITProgram.stopUsingProgram();
-
       if( mesh.getShowNormals() ) displayNormals(projection,mesh);
+      mMainOITProgram.stopUsingProgram();
       }
     }
 
diff --git a/src/main/java/org/distorted/library/mesh/MeshPolygon.java b/src/main/java/org/distorted/library/mesh/MeshPolygon.java
index 5933574..f3ef746 100644
--- a/src/main/java/org/distorted/library/mesh/MeshPolygon.java
+++ b/src/main/java/org/distorted/library/mesh/MeshPolygon.java
@@ -337,9 +337,9 @@ public class MeshPolygon extends MeshBase
     for(int polyBand=0; polyBand<mNumPolygonBands-1; polyBand++)
       for(int polyVertex=0; polyVertex<mNumPolygonVertices; polyVertex++)
         {
-        android.util.Log.e("D", "creating strip polyBand="+polyBand+" polyVertex="+polyVertex+" : "+vertex);
+       // android.util.Log.e("D", "creating strip polyBand="+polyBand+" polyVertex="+polyVertex+" : "+vertex);
         vertex = createBandStrip(vertex,polyBand,polyVertex,edgeShape[polyVertex],attribs1,attribs2);
-        android.util.Log.e("D", "  "+vertex);
+       // android.util.Log.e("D", "  "+vertex);
         }
     }
 
