From 0e2af0e09a4e0698a69cc2e65fec00758019ccda Mon Sep 17 00:00:00 2001 From: freestraws Date: Sat, 2 Mar 2019 15:22:53 -0500 Subject: [PATCH] fixed uv coords code so they apply to faces correctly --- js/saveSTL.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/saveSTL.js b/js/saveSTL.js index c008282..4d1665d 100755 --- a/js/saveSTL.js +++ b/js/saveSTL.js @@ -125,7 +125,7 @@ function saveOBJ(){ // first get bounds for normalization var min = [Infinity, Infinity]; var max = [-Infinity, -Infinity]; - for (var i=0;i scale) scale = max[1] - min[1]; - for (var i=0;i