Index: operation.c =================================================================== --- operation.c (revision 22886) +++ operation.c (revision 22887) @@ -34,6 +34,7 @@ #include "conf_core.h" #include "undo.h" #include "rats.h" +#include "brave.h" /* ---------------------------------------------------------------------- * performs several operations on the passed object @@ -104,6 +105,9 @@ { pcb_bool changed = pcb_false; + if ((pcb_brave & PCB_BRAVE_CLIPBATCH) && (data != NULL)) + pcb_data_clip_inhibit_inc(data); + /* check lines */ if (type & PCB_OBJ_LINE && F->Line) { PCB_LINE_VISIBLE_LOOP(data); @@ -236,5 +240,8 @@ if (Reset && changed) pcb_undo_inc_serial(); + if ((pcb_brave & PCB_BRAVE_CLIPBATCH) && (data != NULL)) + pcb_data_clip_inhibit_dec(data, 0); + return changed; }