Page MenuHome

Fix T71373: Sculpt Mask not extracting correctly on scaled objects
Needs ReviewPublic

Authored by Pablo Dobarro (pablodp606) on Thu, Nov 7, 5:02 PM.



This patch applies the original object scale to the coordinates of the
extracted mask mesh. Without this patch, the mesh was no taking the
original object scale into account and the shrinkwrap will fail.

The other solution would be copying the objecty scale to the new
extracted mask object, but I would like to avoid entering sculpt mode
with scaled objects as it may produce wrong behaviors in some tools.

Diff Detail

rB Blender
T71373 (branched from master)
Build Status
Buildable 5607
Build 5607: arc lint + arc unit

Event Timeline

I don't get it. The original object was already scaled, so what is the problem of having the new object scaled as well. The user was already sculpting in a scaled object to start with.
Just not a big fan of looping over yet again in all the vertices, though in reality I guess the performance impact should be small since we are looping over the mask only.