Blender Git Loki

Git Commits -> Revision 4f70af3

Revision 4f70af3 by Pablo Dobarro (master)
January 7, 2020, 16:10 (GMT)
Fix T72647: Check if the PBVH type makes sense for the sampling mode

Before this it was possible to use the operator with Dyntopo sample mode
with a PBVH type GRIDS or FACES, causing a crash. Now we check first if
the PBVH type is correct before calling the sampling function.

We also check if the PBVH exists, which may also cause a crash.

Reviewed By: jbakker

Maniphest Tasks: T72647

Differential Revision: https://developer.blender.org/D6475

Commit Details:

Full Hash: 4f70af34e054ef42b0e9079d8d5fc8c6e2ac8c19
Parent Commit: bc9c8c3
Lines Changed: +22, -4

1 Modified Path:

/source/blender/editors/sculpt_paint/sculpt.c (+22, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021