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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-02-21 19:57:58 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-02-21 19:57:58 +0300
commit0d9c6ea649e6e6118afba29e536152f160bf8217 (patch)
tree4427d0b28ff536ca4f971fe5680f8f437564e389 /source/blender/include
parent835624fa050362728f4b8dc6a17a25ca89984be3 (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.h3
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: