Closed Puppy-M closed 1 year ago
What is the actual problem that you are having ?
meshA
has normal info. Then do meshA.mergeMesh(meshB);
, the normal info of meshB
didn't merged into meshA
.
I mean, without looking at the code, do you have a sample DCC tool file that shows your problem ? Any screenshot ?
No screeshot yet. I'm right tring to implent an plugin for SketchUp base on the MeshSyncClient. And when I try to use this merge function, I noticed this issue.
After a bit of investigation, it turns out that Mesh::mergeMesh
is a function that we are not using at all, so we are going to remove it.
We removed the code in this PR, and this will be reflected in our next release. https://github.com/unity3d-jp/MeshSync/pull/872
You are free to keep the previous code, but we are not going to maintain it.
For example, in this per-vertex judgment,
base.size()== points.size()
should bebase.size()== num_points_old
,because the points have been inserted above.