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:
authorCampbell Barton <ideasman42@gmail.com>2012-01-19 21:51:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-19 21:51:52 +0400
commitbc745a32d31fd7885dcd3dc0682a8e3150268778 (patch)
tree1572d6159cd1a9da5678485037cf6ffce27a666f /source/blender/blenloader
parent330da356dab13db7d094064a00d56347b1d53e79 (diff)
argument to mesh_recalcTesselation to skip copying normals from polygons.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index b51133d284b..724d6ee2795 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3704,9 +3704,10 @@ static void lib_link_mesh(FileData *fd, Main *main)
* waiting until edit mode has been entered/exited, making it easier
* to recognize problems that would otherwise only show up after edits).
*/
- me->totface = mesh_recalcTesselation(
- &me->fdata, &me->ldata, &me->pdata,
- me->mvert, me->totface, me->totloop, me->totpoly);
+ me->totface = mesh_recalcTesselation(&me->fdata, &me->ldata, &me->pdata,
+ me->mvert,
+ me->totface, me->totloop, me->totpoly,
+ TRUE);
mesh_update_customdata_pointers(me, TRUE);