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>2007-01-16 11:29:39 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-16 11:29:39 +0300
commit062843cca130f0c43acc396e3cc05d54a6e228c2 (patch)
tree3803621ec6fdb7834cdd346fbb50fd8b641deb11 /source/blender/src/editmesh.c
parent6f976db9f72f49fa15d92fa8f69f24c311ffb232 (diff)
Retopo bugfix: freeing editmesh should set retopo fields to 0/NULL.
Diffstat (limited to 'source/blender/src/editmesh.c')
-rw-r--r--source/blender/src/editmesh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c
index fd039e8e003..89f3babc09e 100644
--- a/source/blender/src/editmesh.c
+++ b/source/blender/src/editmesh.c
@@ -618,6 +618,8 @@ void free_editMesh(EditMesh *em)
G.totvert= G.totface= 0;
if(em->retopo_paint_data) retopo_free_paint_data(em->retopo_paint_data);
+ em->retopo_paint_data= NULL;
+ em->retopo_mode= 0;
}
/* on G.editMesh */