From 97ab44e482f2cc8e1f7a23199866098c3434f3b6 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 12 May 2017 19:18:55 +0200 Subject: [PATCH 1/1] fixed bug with grabbing brush in editor marking level as changed --- src/editor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editor.c b/src/editor.c index 3aff6330..f841636f 100644 --- a/src/editor.c +++ b/src/editor.c @@ -12217,6 +12217,7 @@ static void HandleDrawingAreas(struct GadgetInfo *gi) /* do not mark level as modified for certain non-level-changing gadgets */ if ((type_id >= ED_DRAWING_ID_EDITOR_FIRST && type_id <= ED_DRAWING_ID_EDITOR_LAST) || + actual_drawing_function == GADGET_ID_GRAB_BRUSH || actual_drawing_function == GADGET_ID_PICK_ELEMENT) return; -- 2.34.1