diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2014-06-19 01:43:58 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2014-06-19 01:58:36 +0400 |
commit | 1ef5669ad774ac98fff7359132f08c2f7c923643 (patch) | |
tree | 23dd78f18d921d37f04c030a54f133887975b42c /source/blender | |
parent | 68a8f0073f7aaabbc89bdf738bd85996209f184e (diff) |
Fixup for fd0b7428 Bake-API: allow custom UV to be baked
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/render/intern/source/bake_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/bake_api.c b/source/blender/render/intern/source/bake_api.c index 28cb916dca1..efa8c9b98f4 100644 --- a/source/blender/render/intern/source/bake_api.c +++ b/source/blender/render/intern/source/bake_api.c @@ -619,7 +619,7 @@ void RE_bake_pixels_populate( zbuf_alloc_span(&bd.zspan[i], bake_images->data[i].width, bake_images->data[i].height, R.clipcrop); } - if (uv_layer == NULL) { + if ((uv_layer == NULL) || (uv_layer[0] == '\0')) { mtface = CustomData_get_layer(&me->fdata, CD_MTFACE); } else { |