From 078d75406ca983141627d87da5a49bd29abe4023 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Fri, 06 Sep 2019 17:52:08 -0400
Subject: [PATCH] FileObject big data.

---
 Object3D.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/Object3D.java b/Object3D.java
index 2af64dd..a786677 100644
--- a/Object3D.java
+++ b/Object3D.java
@@ -25,9 +25,12 @@
     // Use GetUUID for backward compatibility with null.
     private UUID uuid = UUID.randomUUID();
     
-    // TEMPORARY for mocap undo. No need to be transient.
+    // TEMPORARY for versions. No need to be transient.
     mocap.reader.BVHReader.BVHResult savebvh;
     Object3D saveskeleton;
+    
+    // FileObject
+    Object3D savefilecontent;
     //
     
     String skyboxname;
@@ -3263,7 +3266,10 @@
     {
         if (bRep != null)
         {
+            //bRep.GenerateNormals2(crease); // in-place doesn't work. it gives wrong normals (diamond artifact).
             bRep.GenerateNormals(crease);
+            if (!bRep.trimmed)
+                bRep.MergeNormals();
             Touch();
         }
     }

--
Gitblit v1.6.2