From cf7cfa1c792eebba606a48aa648893f6e4873263 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Mon, 22 Jul 2019 23:03:04 -0400
Subject: [PATCH] Embed JPEG.

---
 BoundaryRep.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/BoundaryRep.java b/BoundaryRep.java
index 6c09eda..797e9f7 100644
--- a/BoundaryRep.java
+++ b/BoundaryRep.java
@@ -4001,7 +4001,7 @@
             NormalGenerator ng;
             
             if (crease)
-                ng = new NormalGenerator(Math.PI/6); // default is 44 degrees (or Math.PI/3); // /4);
+                ng = new NormalGenerator(Math.PI/4); // default is 44 degrees (or Math.PI/3); // /4);
             else
                 ng = new NormalGenerator(Math.PI); // (Math.PI / 3); // /4);
             
@@ -4155,6 +4155,8 @@
     
     void MergeNormals()
     {
+        assert(!trimmed);
+        
         boolean smooth = Grafreed.smoothmode;
         boolean link = Grafreed.linkUV;
         Grafreed.smoothmode = true;

--
Gitblit v1.6.2