diff options
Diffstat (limited to 'source/blender/editors/mesh/editmesh.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh.c b/source/blender/editors/mesh/editmesh.c index bdb1df3b5c1..a286c0ad8e8 100644 --- a/source/blender/editors/mesh/editmesh.c +++ b/source/blender/editors/mesh/editmesh.c @@ -1771,6 +1771,11 @@ static void undoMesh_to_editMesh(void *umv, void *emv) EM_free_index_arrays(); } + /* restore total selections */ + EM_nvertices_selected(em); + EM_nedges_selected(em); + EM_nfaces_selected(em); + // XXX retopo_free_paint(); // em->retopo_paint_data= retopo_paint_data_copy(um->retopo_paint_data); // scene->toolsettings->retopo_mode= um->retopo_mode; |