Fix T101414: in 3d viewport, smart uv project failed to pack

Regression from https://developer.blender.org/rBa5c696a0c2b9
This commit is contained in:
2022-09-28 12:35:29 +13:00
parent 6d1d1bf2b1
commit 5beaecb33e

View File

@@ -2421,7 +2421,7 @@ static int smart_project_exec(bContext *C, wmOperator *op)
.rotate = true,
/* We could make this optional. */
.rotate_align_axis = 1,
.only_selected_uvs = true,
.only_selected_uvs = only_selected_uvs,
.only_selected_faces = true,
.correct_aspect = correct_aspect,
.use_seams = true,