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>2010-03-31 11:22:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-03-31 11:22:18 +0400
commit2910d75f2c68f79054e47348925f13b127ada9d6 (patch)
treecbb146ee56708892fdc5ff92ceba84e4d3479c6f /source/blender/editors/util
parent7af91f6663564f1c3c85960b95f2c6e3ca213231 (diff)
svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r27875:27895
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r--source/blender/editors/util/ed_util.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/util/ed_util.c b/source/blender/editors/util/ed_util.c
index 52e3b9baa13..19bd18ade1f 100644
--- a/source/blender/editors/util/ed_util.c
+++ b/source/blender/editors/util/ed_util.c
@@ -64,7 +64,8 @@ void ED_editors_exit(bContext *C)
Object *ob= sce->obedit;
/* global in meshtools... */
- mesh_octree_table(ob, NULL, NULL, 'e');
+ mesh_octree_table(NULL, NULL, NULL, 'e');
+ mesh_mirrtopo_table(NULL, 'e');
if(ob) {
if(ob->type==OB_MESH) {
@@ -91,8 +92,10 @@ void ED_editors_exit(bContext *C)
Object *ob= sce->basact->object;
/* if weight-painting is on, free mesh octree data */
- if(ob->mode & OB_MODE_WEIGHT_PAINT)
- mesh_octree_table(ob, NULL, NULL, 'e');
+ if(ob->mode & OB_MODE_WEIGHT_PAINT) {
+ mesh_octree_table(NULL, NULL, NULL, 'e');
+ mesh_mirrtopo_table(NULL, 'e');
+ }
}
}