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:
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 */