From 8d852cf18f34e5a23e840bd18f8818f03778733a Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Fri, 23 Jul 2010 13:17:48 +0200 Subject: [PATCH] Temporary workaround for DTM editor crash. --- Extensions/dtm_editor.sex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Extensions/dtm_editor.sex b/Extensions/dtm_editor.sex index 86108ef..306f8fe 100644 --- a/Extensions/dtm_editor.sex +++ b/Extensions/dtm_editor.sex @@ -321,8 +321,12 @@ end; procedure ResetBuffer; begin + { + Freeing the BmpBuffer here causes access violations. + It will have to investigated later. if (bmpBuffer <> nil) then bmpBuffer.Free; + } bmpBuffer := bmp.Copy(0, 0, bmp.Width - 1, bmp.Height - 1); BufferChanged := False;