diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-07-15 15:11:36 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-07-15 15:11:36 +0400 |
commit | abe84a4f43939fd14a4830d958890e870ddeb180 (patch) | |
tree | 988364c89a12979a57f1f569074c18530d449b29 /source/blender/makesrna | |
parent | 61cb92f701deb6af31476f3687207be5d63b1ce2 (diff) |
Fix #36139: cycles not taking texture spacing settings into account for
generated coordinates on text objects.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_main_api.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_main_api.c b/source/blender/makesrna/intern/rna_main_api.c index 4c652770e3f..fd931262904 100644 --- a/source/blender/makesrna/intern/rna_main_api.c +++ b/source/blender/makesrna/intern/rna_main_api.c @@ -335,6 +335,8 @@ Mesh *rna_Main_meshes_new_from_object( return NULL; } + BKE_mesh_texspace_copy_from_object(tmpmesh, ob); + BKE_libblock_free_us(&bmain->object, tmpobj); break; } @@ -362,6 +364,8 @@ Mesh *rna_Main_meshes_new_from_object( else BKE_mesh_from_metaball(&ob->disp, tmpmesh); + BKE_mesh_texspace_copy_from_object(tmpmesh, ob); + break; } |