diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 15:34:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 15:34:09 +0400 |
commit | f0b0679fd2cf78a3d137aad0b5732a41c761e1f8 (patch) | |
tree | f93236eea78b1378117c28d805e31af2f4738e58 /source/blender/editors/util/ed_util.c | |
parent | 9e134507a78a1bf467e6157b26a282cc67ce27dd (diff) |
found some changes were missed from previous manual merge
Diffstat (limited to 'source/blender/editors/util/ed_util.c')
-rw-r--r-- | source/blender/editors/util/ed_util.c | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/source/blender/editors/util/ed_util.c b/source/blender/editors/util/ed_util.c index e83138acf46..d22751dc9aa 100644 --- a/source/blender/editors/util/ed_util.c +++ b/source/blender/editors/util/ed_util.c @@ -106,10 +106,6 @@ void ED_editors_exit(bContext *C) if(sce->obedit) { Object *ob= sce->obedit; - /* global in meshtools... */ - //BMESH_TODO mesh_octree_table(NULL, NULL, NULL, 'e'); - //BMESH_TODO mesh_mirrtopo_table(NULL, 'e'); - if(ob) { if(ob->type==OB_MESH) { Mesh *me= ob->data; @@ -122,26 +118,13 @@ void ED_editors_exit(bContext *C) else if(ob->type==OB_ARMATURE) { ED_armature_edit_free(ob); } - else if(ob->type==OB_FONT) { - // free_editText(); - } - // else if(ob->type==OB_MBALL) - // BLI_freelistN(&editelems); - // free_editLatt(); - // free_posebuf(); // XXX this is still a global... - } - } - else if(sce->basact && sce->basact->object) { - Object *ob= sce->basact->object; - - /* if weight-painting is on, free mesh octree data */ - if(ob->mode & OB_MODE_WEIGHT_PAINT) { - //BMESH_TODO mesh_octree_table(NULL, NULL, NULL, 'e'); - //BMESH_TODO mesh_mirrtopo_table(NULL, 'e'); } } } - + + /* global in meshtools... */ + //BMESH_TODO mesh_octree_table(NULL, NULL, NULL, 'e'); + //BMESH_TODO mesh_mirrtopo_table(NULL, 'e'); } |