When 2 meshes have adjacent edges, then in almost every case you may want to make sure that the vertices match perfectly. This is the case for the Skirt and the Top in the image.
However, sometimes you find that the meshes behave different when posed, such that for example a gap shows up.
The reason for this gap is that the weight maps of the two meshes differ, so they move slightly different and diverge with increasing pose transformations .
When we display the related weight maps for both meshes, then we can already see how the map colors differ(Here shown for the mPelvis bone).
Here the upper border of the skirt is colored in red, while the lower edge of the top is colored in green: The weight maps differ a lot in this case.
This is where the Align to rigged functions comes as a rescue, as it simply makes sure that adjacent vertices on both meshes have exactly the same weights.
Lets select the border vertices of the mesh on which we want to fix the weight maps (i chose the top here):
Note: Actually the tool does not take an average weight, but it copies the weights from the adjacent mesh (the Skirt-Mesh in this case).
In the Toolbox (Avastar Panel) we find the Weight tools section Align to Rigged
As soon as we click the operator button, the weights get corrected…
So when you display the related weight maps of both Meshes after the Weight alignement is done, then you now see a smooth transition of the weights between the top and the skirt.
The final test is to redo the pose and see. Obviously now the weights are identical along the border edges of the skirt and the Top, no more gaps occur.