Normand Briere
2019-09-06 078d75406ca983141627d87da5a49bd29abe4023
Object3D.java
....@@ -25,9 +25,12 @@
2525 // Use GetUUID for backward compatibility with null.
2626 private UUID uuid = UUID.randomUUID();
2727
28
- // TEMPORARY for mocap undo. No need to be transient.
28
+ // TEMPORARY for versions. No need to be transient.
2929 mocap.reader.BVHReader.BVHResult savebvh;
3030 Object3D saveskeleton;
31
+
32
+ // FileObject
33
+ Object3D savefilecontent;
3134 //
3235
3336 String skyboxname;
....@@ -3263,7 +3266,10 @@
32633266 {
32643267 if (bRep != null)
32653268 {
3269
+ //bRep.GenerateNormals2(crease); // in-place doesn't work. it gives wrong normals (diamond artifact).
32663270 bRep.GenerateNormals(crease);
3271
+ if (!bRep.trimmed)
3272
+ bRep.MergeNormals();
32673273 Touch();
32683274 }
32693275 }