Fix T68954 UVEdit: Auto Smooth option conflicts with uvs display

This commit is contained in:
Clément Foucault 2019-08-26 16:28:32 +02:00
parent d5f3f4410d
commit 1a6491639a
Notes: blender-bot 2023-02-14 10:11:54 +01:00
Referenced by issue #68954, Auto Smooth option conflicts with uvs
1 changed files with 1 additions and 1 deletions

View File

@ -2577,7 +2577,7 @@ static void *extract_edituv_data_init(const MeshRenderData *mr, void *buf)
GPU_vertbuf_init_with_format(vbo, &format);
GPU_vertbuf_data_alloc(vbo, mr->loop_len);
CustomData *cd_ldata = &mr->me->ldata;
CustomData *cd_ldata = (mr->extract_type == MR_EXTRACT_BMESH) ? &mr->bm->ldata : &mr->me->ldata;
MeshExtract_EditUVData_Data *data = MEM_callocN(sizeof(*data), __func__);
data->vbo_data = (EditLoopData *)vbo->data;