Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_cache_impl_mesh.c
| Show First 20 Lines • Show All 4,879 Lines • ▼ Show 20 Lines | if (DRW_ibo_requested(cache->ibo.edit_loops_tris)) { | ||||
| mesh_create_edit_loops_tris(rdata, cache->ibo.edit_loops_tris); | mesh_create_edit_loops_tris(rdata, cache->ibo.edit_loops_tris); | ||||
| } | } | ||||
| /* UV editor */ | /* UV editor */ | ||||
| /** | /** | ||||
| * TODO: The code and data structure is ready to support modified UV display | * TODO: The code and data structure is ready to support modified UV display | ||||
| * but the selection code for UVs needs to support it first. So for now, only | * but the selection code for UVs needs to support it first. So for now, only | ||||
| * display the cage in all cases. | * display the cage in all cases. | ||||
| **/ | */ | ||||
| if (rdata && rdata->mapped.supported) { | if (rdata && rdata->mapped.supported) { | ||||
| rdata->mapped.use = false; | rdata->mapped.use = false; | ||||
| } | } | ||||
| if (DRW_vbo_requested(cache->edit.loop_uv_data) || | if (DRW_vbo_requested(cache->edit.loop_uv_data) || | ||||
| DRW_vbo_requested(cache->edit.loop_uv)) | DRW_vbo_requested(cache->edit.loop_uv)) | ||||
| { | { | ||||
| mesh_create_edit_vertex_loops( | mesh_create_edit_vertex_loops( | ||||
| Show All 38 Lines | |||||