diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-21 19:57:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-21 19:57:58 +0300 |
commit | 0d9c6ea649e6e6118afba29e536152f160bf8217 (patch) | |
tree | 4427d0b28ff536ca4f971fe5680f8f437564e389 /source/blender/include | |
parent | 835624fa050362728f4b8dc6a17a25ca89984be3 (diff) |
Fix for bug #6769: lattice editmode undo gave corrupt data
if the lattice resolution changed.
Diffstat (limited to 'source/blender/include')
-rw-r--r-- | source/blender/include/BIF_editmode_undo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/include/BIF_editmode_undo.h b/source/blender/include/BIF_editmode_undo.h index b03b4160166..5b445fef17b 100644 --- a/source/blender/include/BIF_editmode_undo.h +++ b/source/blender/include/BIF_editmode_undo.h @@ -39,7 +39,8 @@ extern void undo_editmode_push(char *name, void (*freedata)(void *), // pointer to function freeing data void (*to_editmode)(void *), // data to editmode conversion - void *(*from_editmode)(void)); // editmode to data conversion + void *(*from_editmode)(void), // editmode to data conversion + int (*validate_undo)(void *)); // check if undo data is still valid // Further exported for UI is: |