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-17 11:22:52 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-17 11:22:52 +0300
commite773ecc6a37f483c6145555b682e50f55dbeddad (patch)
tree06ed986c0c1e2de4b265fae04a57bbc3c41b6746 /source/blender/src/editmesh.c
parenta7ea4492143660f3bc07f6365e9967e6cd648e5e (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.c5
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);