diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-17 11:22:52 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-17 11:22:52 +0300 |
commit | e773ecc6a37f483c6145555b682e50f55dbeddad (patch) | |
tree | 06ed986c0c1e2de4b265fae04a57bbc3c41b6746 /source/blender/src/editmesh.c | |
parent | a7ea4492143660f3bc07f6365e9967e6cd648e5e (diff) |
Fixed bug #5718, retopo - undo after applying returns the pen strokes to the wrong location
Diffstat (limited to 'source/blender/src/editmesh.c')
-rw-r--r-- | source/blender/src/editmesh.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c index 89f3babc09e..4c1637a6221 100644 --- a/source/blender/src/editmesh.c +++ b/source/blender/src/editmesh.c @@ -2061,6 +2061,11 @@ static void undoMesh_to_editMesh(void *umv) retopo_free_paint(); em->retopo_paint_data= retopo_paint_data_copy(um->retopo_paint_data); em->retopo_mode= um->retopo_mode; + if(em->retopo_mode) { + if(G.vd->depths) G.vd->depths->damaged= 1; + retopo_queue_updates(G.vd); + retopo_paint_view_update(G.vd); + } { Mesh *me= get_mesh(G.obedit); |