Blender Git Loki

Git Commits -> Revision e41437b

Revision e41437b by Pablo Dobarro (master)
October 1, 2020, 17:18 (GMT)
Fix T81268: Crash when undo from Sculpt Mode to Edit Mode

This was introduced in 6c9ec1c893f9. The overlays can now be drawn when
PBVH drawing is not enabled, but the PBVH should still exist in the
SculptSession in order to draw them. Before, it was avoiding the crash
by checking use_pbvh as BKE_sculptsession_use_pbvh_draw also checks if
the PBVH exists.

Reviewed By: sergey

Maniphest Tasks: T81268

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

Commit Details:

Full Hash: e41437b16e6deda9fdc23ffd4baeaf912dc7052f
Parent Commit: 8fbb6aa
Lines Changed: +20, -9

1 Modified Path:

/source/blender/draw/engines/overlay/overlay_sculpt.c (+20, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021