Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert_mesh.c
| Show First 20 Lines • Show All 1,445 Lines • ▼ Show 20 Lines | FOREACH_TRANS_DATA_CONTAINER (t, tc) { | ||||
| if (!ED_space_image_show_uvedit(sima, tc->obedit)) { | if (!ED_space_image_show_uvedit(sima, tc->obedit)) { | ||||
| continue; | continue; | ||||
| } | } | ||||
| /* count */ | /* count */ | ||||
| if (is_prop_connected || is_island_center) { | if (is_prop_connected || is_island_center) { | ||||
| /* create element map with island information */ | /* create element map with island information */ | ||||
| const bool use_facesel = (ts->uv_flag & UV_SYNC_SELECTION) == 0; | const bool use_facesel = (ts->uv_flag & UV_SYNC_SELECTION) == 0; | ||||
| elementmap = BM_uv_element_map_create(em->bm, use_facesel, false, true); | elementmap = BM_uv_element_map_create(em->bm, scene, use_facesel, true, false, true); | ||||
| if (elementmap == NULL) { | if (elementmap == NULL) { | ||||
| continue; | continue; | ||||
| } | } | ||||
| if (is_prop_connected) { | if (is_prop_connected) { | ||||
| island_enabled = BLI_BITMAP_NEW(elementmap->totalIslands, "TransIslandData(UV Editing)"); | island_enabled = BLI_BITMAP_NEW(elementmap->totalIslands, "TransIslandData(UV Editing)"); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines | |||||