diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-04 10:48:26 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-04 10:48:26 +0300 |
commit | 6643cc53d96ecdff119c18a5bf6ccf35726ab37f (patch) | |
tree | 725401f8e6b3b8f849575666c09caef175023d27 /source/blender/src/editmesh.c | |
parent | 31e4149c44780cffd13d3609a7beccf7e6f69822 (diff) |
Fixed bug #5592, change from sculpt mode to edit mode crashes 2.43RC1 on OsX Intel. Fix was to check that undo data is taken from the correct object.
Diffstat (limited to 'source/blender/src/editmesh.c')
-rw-r--r-- | source/blender/src/editmesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c index a71c70e0f91..cddeda5aa10 100644 --- a/source/blender/src/editmesh.c +++ b/source/blender/src/editmesh.c @@ -1918,7 +1918,7 @@ static void *editMesh_to_undoMesh(void) { Multires *mr= get_mesh(G.obedit)->mr; - UndoMesh *prev= undo_editmode_get_prev(); + UndoMesh *prev= undo_editmode_get_prev(G.obedit); um->mru= NULL; |