X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Feditor.c;h=f841636fc2b1dc23649a8234082470f5a3b4942d;hp=3aff63303830d6ad7c73d9c1061238b619a4d34b;hb=97ab44e482f2cc8e1f7a23199866098c3434f3b6;hpb=a747b26cc670dc7666d6d81a2cb612f640a576f6 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;