Blender Git Commit Log

Git Commits -> Revision 8a7851d

Revision 8a7851d by Pablo Dobarro (master)
December 9, 2019, 15:59 (GMT)
Fix T72054: Sculpt Mode crash when using Relax Mesh Filter with Dyntopo enabled

This commit fixes 3 bugs:

- Fix the crash reported in T72054. The BMesh elem table and the vd.no was null, so we now ensure that the table exists before running any sculpt tool in dyntopo. The relax function also uses vd.fno in case that vd.no is not available.
- Fix missing updates of the bounding boxes when running the mesh filter. This can be optimized by running the updates only when the filter finishes. Without this, it is impossible to sculpt the user modifies the mesh too much with the filter.
- Fix incorrect solution of relax vertex when using EEVEE. Relaxing the mesh requires the updated normals after each iteration. This was done by the PBVH rendering code, but when running EEVEE it was using incorrect normals. Now normals are updated after each iteration.

Reviewed By: brecht

Maniphest Tasks: T72054

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

Commit Details:

Full Hash: 8a7851de3a0bbddab7875a6b99bd55d9298d9e9c
Parent Commit: 448669a
Lines Changed: +13, -3

1 Modified Path:

/source/blender/editors/sculpt_paint/sculpt.c (+13, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021