Have had some time lately to to what I wanted to do for quite some time.
While using the brush it usually screw up vertices that are modeled to be close to each other, i.e. for stylize character with hard edges or hard surface stuff.
This is an attempt to fix the problem by adding "distance between surrounding vertices" into the calculation.
- Supports undo/redo.
- Supports maintain max influence set on the skinCluster node.
- Optimized (I did try, really.)
- Big changes in calculation.
Averaging weights will take distance between its
surroundings into account.