Commit: 50d30148b63212d4249b6e2aa97a5802557a9b6e Author: Dalai Felinto Date: Mon Jul 14 17:49:30 2014 -0300 https://developer.blender.org/rB50d30148b63212d4249b6e2aa97a5802557a9b6e
Fix T41044 Cycles Bake: world space location affects object space normal pass =================================================================== M source/blender/render/intern/source/bake_api.c =================================================================== diff --git a/source/blender/render/intern/source/bake_api.c b/source/blender/render/intern/source/bake_api.c index efa8c9b..15ad605 100644 --- a/source/blender/render/intern/source/bake_api.c +++ b/source/blender/render/intern/source/bake_api.c @@ -852,7 +852,8 @@ void RE_bake_normal_world_to_object( offset = i * depth; normal_uncompress(nor, &result[offset]); - mul_m4_v3(iobmat, nor); + /* rotates only without translation */ + mul_mat3_m4_v3(iobmat, nor); normalize_v3(nor); /* save back the values */ _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs