.. | .. |
---|
25 | 25 | // Use GetUUID for backward compatibility with null. |
---|
26 | 26 | private UUID uuid = UUID.randomUUID(); |
---|
27 | 27 | |
---|
28 | | - // TEMPORARY for mocap undo. No need to be transient. |
---|
| 28 | + // TEMPORARY for versions. No need to be transient. |
---|
29 | 29 | mocap.reader.BVHReader.BVHResult savebvh; |
---|
30 | 30 | Object3D saveskeleton; |
---|
| 31 | + |
---|
| 32 | + // FileObject |
---|
| 33 | + Object3D savefilecontent; |
---|
31 | 34 | // |
---|
32 | 35 | |
---|
33 | 36 | String skyboxname; |
---|
.. | .. |
---|
3263 | 3266 | { |
---|
3264 | 3267 | if (bRep != null) |
---|
3265 | 3268 | { |
---|
| 3269 | + //bRep.GenerateNormals2(crease); // in-place doesn't work. it gives wrong normals (diamond artifact). |
---|
3266 | 3270 | bRep.GenerateNormals(crease); |
---|
| 3271 | + if (!bRep.trimmed) |
---|
| 3272 | + bRep.MergeNormals(); |
---|
3267 | 3273 | Touch(); |
---|
3268 | 3274 | } |
---|
3269 | 3275 | } |
---|