Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/paint_image_proj.c
| Context not available. | |||||
| })); | })); | ||||
| /* select all uv loops first - pack parameters needs this to make sure charts are registered */ | /* select all uv loops first - pack parameters needs this to make sure charts are registered */ | ||||
| ED_uvedit_select_all(bm); | ED_uvedit_select_all(bm); | ||||
| ED_uvedit_unwrap_cube_project(ob, bm, 1.0, false); | ED_uvedit_unwrap_cube_project(ob, bm, 1.0, false, NULL); | ||||
| /* set the margin really quickly before the packing operation*/ | /* set the margin really quickly before the packing operation*/ | ||||
| scene->toolsettings->uvcalc_margin = 0.001f; | scene->toolsettings->uvcalc_margin = 0.001f; | ||||
| ED_uvedit_pack_islands(scene, ob, bm, false, false, true); | ED_uvedit_pack_islands(scene, ob, bm, false, false, true); | ||||
| Context not available. | |||||