Blender Git Loki

Git Commits -> Revision ca17212

Revision ca17212 by Sergey Sharybin (master)
November 13, 2019, 10:29 (GMT)
Fix T71503: Wrap + displace + multires + Sculpt crash

The root of the issue goes to the discontinuity between the way how
mesh_calc_modifiers() and BKE_sculpt_multires_active() works.

At some point detection of original data usage by a modifier got
broken: the mesh_final based check is unreliable because deform-only
modifiers will create mesh_final for the connectivity information.

This made it so modifier stack evaluation would skip multires
evaluation, but the sculpt code will assume the multires is properly
applied.

This change makes it an explicit check about whether there are any
non-deform-only modifiers applied.

Pair programming and review together with Bastien, thanks!

Commit Details:

Full Hash: ca1721270a6d3fa8d67b59a014ab94004e24026b
Parent Commit: 5fde907
Lines Changed: +5, -1

1 Modified Path:

/source/blender/blenkernel/intern/DerivedMesh.c (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021