A fix for T83187 (rBf83aa830) assumed in the overlay code of the uv editor that the object was a mesh
when it did not have to be - causing a crash.
The fix makes sure that the object is a mesh.
Differential D10369
Fix T85499: Crash on switching to edit mode with uv editor open Authored by Falk David (filedescriptor) on Feb 9 2021, 2:41 PM.
Details A fix for T83187 (rBf83aa830) assumed in the overlay code of the uv editor that the object was a mesh The fix makes sure that the object is a mesh.
Diff Detail
Event TimelineComment Actions Just a small change needed to skip some unneeded CPU cycles.
Comment Actions In this case you can check if draw_ctx->obact is a mesh before allocating objects and looping over them. | ||||||