Blender Git Commit Log

Git Commits -> Revision 069c5f5

Revision 069c5f5 by Hans Goudey (lineart-shadow)
December 8, 2021, 06:53 (GMT)
Fix T93525: Crash with curve/text armature bone gizmo

The problem is that drw_batch_cache_generate_requested_delayed
is called on the object, which uses the original object data type to
choose which data type to get info for. So for curves and text it uses
the incorrect type (not the evaluated mesh like we hardcoded in the
armature overlay code).

To fix this I hardcoded the "delayed" generation to only use the
evaluated mesh. Luckily it wasn't use elsewhere besides this
armature overlay system. That seems like the simplest fix for
3.0. A proper solution should rewrite this whole area anyway.

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

Commit Details:

Full Hash: 069c5f5715df43df6718072d1826b2fcabf9c5e5
Parent Commit: 2a7e609
Committed By: YimingWu
Lines Changed: +33, -4

4 Modified Paths:

/source/blender/draw/engines/overlay/overlay_armature.c (+7, -3) (Diff)
/source/blender/draw/intern/draw_cache.c (+19, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+2, -1) (Diff)
/source/blender/draw/intern/draw_manager.h (+5, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021