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:
authorTon Roosendaal <ton@blender.org>2005-12-01 22:04:57 +0300
committerTon Roosendaal <ton@blender.org>2005-12-01 22:04:57 +0300
commitc4a1d655aeb54abcb4bdf02491e002d69020a786 (patch)
tree733461cbe1559e14738c5b72f6716c77dcd656e2 /source/blender/src/editmesh.c
parenta09fbc080dea64078a6cfb307a720194ee30e6db (diff)
True X-mirror mesh editing!
Set the option in EditMode, in 2nd mesh tools panel. It only works on transform options now (grab/rot/scale), and of course assumes a near- perfect symmetrical mesh. Mesh Object itself can be on any location though (and rotated etc).
Diffstat (limited to 'source/blender/src/editmesh.c')
-rw-r--r--source/blender/src/editmesh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c
index 2eb59c146f2..eb77356ecdc 100644
--- a/source/blender/src/editmesh.c
+++ b/source/blender/src/editmesh.c
@@ -78,6 +78,7 @@
#include "BIF_editmesh.h"
#include "BIF_editmode_undo.h"
#include "BIF_interface.h"
+#include "BIF_meshtools.h"
#include "BIF_mywindow.h"
#include "BIF_space.h"
#include "BIF_screen.h"
@@ -537,6 +538,8 @@ void free_editMesh(EditMesh *em)
em->alledges= em->curedge= NULL;
em->allfaces= em->curface= NULL;
+ mesh_octree_table(NULL, NULL, 'e');
+
G.totvert= G.totface= 0;
}