Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-15 15:11:36 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-15 15:11:36 +0400
commitabe84a4f43939fd14a4830d958890e870ddeb180 (patch)
tree988364c89a12979a57f1f569074c18530d449b29 /source/blender/makesrna/intern/rna_main_api.c
parent61cb92f701deb6af31476f3687207be5d63b1ce2 (diff)
Fix #36139: cycles not taking texture spacing settings into account for
generated coordinates on text objects.
Diffstat (limited to 'source/blender/makesrna/intern/rna_main_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_main_api.c4
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;
}