From c93fce87848375a6e3fddb13332e0860ea89205e Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Mon, 7 Aug 2023 20:37:44 -0700 Subject: [PATCH] Mesh: add missing line of code --- lib/src/main/java/com/github/stephengold/vsport/Mesh.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/java/com/github/stephengold/vsport/Mesh.java b/lib/src/main/java/com/github/stephengold/vsport/Mesh.java index 9eac0d85..a1cc2210 100644 --- a/lib/src/main/java/com/github/stephengold/vsport/Mesh.java +++ b/lib/src/main/java/com/github/stephengold/vsport/Mesh.java @@ -720,8 +720,8 @@ public String toString() { for (int i = 0; i < numRendered; ++i) { if ((i % vpt) == 0) { + result.append(nl); } - int vertexIndex = (indexBuffer == null) ? i : indexBuffer.get(i); result.append(vertexIndex); result.append(": ");