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:
authorNicholas Bishop <nicholasbishop@gmail.com>2006-12-20 11:33:30 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2006-12-20 11:33:30 +0300
commit56b79bb66eaf354e746f660035d4f89a7f518fe9 (patch)
tree2501e4a7df5267ea66fba7d23a9469bfd2e5f6d2 /source/blender/src/multires.c
parent547be2a5ce4a73a633fbf13a11d82141ba8b16d3 (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.c3
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();