Sculpt: Fix broken pivots when entering paint modes

When entering paint modes the paint pivot was cleared,
which broken rotate around pivot.  Fixed for all paint modes.
PBVH modes set the pivot to the PBVH bounding box
while texture paint uses the evaluated mesh bounding box.
This commit is contained in:
Joseph Eagar
2022-12-02 00:37:50 -08:00
parent 6b0e769d14
commit 46f991dbae