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-02-05 11:12:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-05 11:12:46 +0400
commit1d21e2386e39a34a86772e4b6f19791c1635a601 (patch)
treeec94c703a04ac795083ab117a28dd7640bd89e23 /source/blender/blenloader
parentb0db9df701a1905ff8a337f0ae5384079fcba28d (diff)
ensure tessface's are available while sculpting.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 2f7a59fa575..8a58687f61c 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3703,12 +3703,7 @@ 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,
- TRUE);
-
- mesh_update_customdata_pointers(me, TRUE);
+ BKE_mesh_calc_tessface(me);
me->id.flag -= LIB_NEEDLINK;
}