Blender Git Loki

Git Commits -> Revision 0a546be

Revision 0a546be by Philipp Oeser (master)
February 5, 2021, 11:43 (GMT)
Fix T85396: Display Texture Paint UV only working in editmode

Caused by rBf83aa830cd00.

Since above commit, only meshes in editmode were considered for drawing
(because
BKE_view_layer_array_from_objects_in_edit_mode_unique_data_with_uvs was
used), but the option needs to work for texture paint mode as well, so
use BKE_view_layer_array_from_objects_in_mode_unique_data instead on
pass the draw_ctx->object_mode.

note: there is no good filter_fn to check if we have UVs if mesh is not
in editmode, this shouldnt cause much of a performance hit though.

Maniphest Tasks: T85396

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

Commit Details:

Full Hash: 0a546beb1f3a6b53fdd57da892ccdf893c269010
Parent Commit: 7fb540b
Lines Changed: +2, -2

1 Modified Path:

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