Index: move.c =================================================================== --- move.c (revision 35260) +++ move.c (revision 35261) @@ -41,6 +41,7 @@ #include "event.h" #include #include +#include "extobj.h" #include "obj_arc_op.h" #include "obj_line_op.h" #include "obj_text_op.h" @@ -270,6 +271,11 @@ void *result; pcb_opctx_t ctx; + if (pcb_extobj_get_floater_subc(Ptr2) != NULL) { + rnd_message(RND_MSG_ERROR, "Can not move extended object floater to a different layer\nRather edit the layer bindings of the extended object to redirect the parent layer of the object.\n"); + return NULL; + } + ctx.move.pcb = PCB; ctx.move.dst_layer = Target; ctx.move.more_to_come = enmasse;