diff options
author | Joseph Eagar <joeedh@gmail.com> | 2009-08-06 18:03:43 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2009-08-06 18:03:43 +0400 |
commit | 7e6662e60ca9bd30dd11826ebceceea6dec85103 (patch) | |
tree | e2b32993b178bc2066a0f82707e35e8e11af227b /source/blender/blenkernel/BKE_bmesh.h | |
parent | 8f5d067c466c997291d946e098db5b3ad15a8576 (diff) |
added a crash handler to dump the global undo state to file on segmentation fault. it saves to the current file path in G.sce + .crash.blend. note that this code is only enabled on release builds, it's #ifdef'd out if _DEBUG is defined. for users, if you were in edit mode when a crash happened, this will only save the mesh changes up to the time you entered edit mode.
Diffstat (limited to 'source/blender/blenkernel/BKE_bmesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_bmesh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_bmesh.h b/source/blender/blenkernel/BKE_bmesh.h index 957cd8ef9bd..fc43ae0f9a5 100644 --- a/source/blender/blenkernel/BKE_bmesh.h +++ b/source/blender/blenkernel/BKE_bmesh.h @@ -1,7 +1,7 @@ /** * BKE_bmesh.h jan 2007 * - * BMesh modeler structure and functions. + * (old) BMesh modeler structure and functions. * * $Id$ * @@ -52,6 +52,7 @@ struct BME_Edge; struct BME_Poly; struct BME_Loop; +/*NOTE: this is the bmesh 1.0 code. it's completely outdated.*/ /*Notes on further structure Cleanup: -Remove the tflags, they belong in custom data layers |