fix for MS compliers
authorJens Ole Wund <bjornmose@gmx.net>
Wed, 17 Feb 2010 23:04:30 +0000 (23:04 +0000)
committerJens Ole Wund <bjornmose@gmx.net>
Wed, 17 Feb 2010 23:04:30 +0000 (23:04 +0000)
keep var declaration up in .c files

source/blender/editors/mesh/meshtools.c

index e345d74317250a090cb2b5803ac36f05ffafb941..a56b6e47ad9771ee0f88f4611a2fce2de1abd975 100644 (file)
@@ -1035,7 +1035,6 @@ long mesh_mirrtopo_table(Object *ob, char mode)
                MEdge *medge;
                EditMesh *em= me->edit_mesh;
 
-               mesh_topo_lookup_mode= ob->mode;
 
                /* editmode*/
                EditEdge *eed;
@@ -1046,6 +1045,7 @@ long mesh_mirrtopo_table(Object *ob, char mode)
                MIRRHASH_TYPE *MirrTopoHash = NULL;
                MIRRHASH_TYPE *MirrTopoHash_Prev = NULL;
                MirrTopoPair *MirrTopoPairs;
+               mesh_topo_lookup_mode= ob->mode;
 
                /* reallocate if needed */
                if (mesh_topo_lookup) {