diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2006-12-20 11:33:30 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2006-12-20 11:33:30 +0300 |
commit | 56b79bb66eaf354e746f660035d4f89a7f518fe9 (patch) | |
tree | 2501e4a7df5267ea66fba7d23a9469bfd2e5f6d2 /source/blender/src/multires.c | |
parent | 547be2a5ce4a73a633fbf13a11d82141ba8b16d3 (diff) |
Modified sculptmode's vertex_users to use one large chunk of memory rather than many small pieces.
Diffstat (limited to 'source/blender/src/multires.c')
-rw-r--r-- | source/blender/src/multires.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/multires.c b/source/blender/src/multires.c index 50ded1931e3..d883b7317d7 100644 --- a/source/blender/src/multires.c +++ b/source/blender/src/multires.c @@ -1240,7 +1240,8 @@ void multires_level_to_mesh(Object *ob, Mesh *me) multires_edge_level_update(ob,me); DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA); mesh_calc_normals(me->mvert, me->totvert, me->mface, me->totface, NULL); - set_sculpt_object(ob); + if(G.f & G_SCULPTMODE) + set_sculpt_object(ob); } countall(); |