diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-17 17:00:27 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-17 17:00:55 +0300 |
commit | 2d89b43fd24986541f6cb2a1580ad8764540af47 (patch) | |
tree | 76724da4572d6b56b3e598a52e023dae29c9cc15 /source/blender/editors/sculpt_paint | |
parent | ec2c0c55347a64a940ce1312376f93f380f816e4 (diff) | |
parent | c45afcfa81e67c7b560a5ee0a3e599902e3dfee9 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index fb797440791..2f4a28963fe 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -5918,7 +5918,7 @@ static int add_simple_uvs_exec(bContext *C, wmOperator *UNUSED(op)) })); /* select all uv loops first - pack parameters needs this to make sure charts are registered */ ED_uvedit_select_all(bm); - ED_uvedit_unwrap_cube_project(ob, bm, 1.0, false); + ED_uvedit_unwrap_cube_project(bm, 1.0, false, NULL); /* set the margin really quickly before the packing operation*/ scene->toolsettings->uvcalc_margin = 0.001f; ED_uvedit_pack_islands(scene, ob, bm, false, false, true); |