← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Locked modules locked in block operations

 

Le 17/10/2010 12:32, Marco Mattila a écrit :
Good point. However, sometimes it might be used also for moving footprints within a board. In that case there may be things that
should not be moved. Maybe another checkbox (include locked modules) could be added to the dialog that comes up after block move,
for example. It's not coming up for flip block, though.

Marco

This is a better idea.
All block operations must have this checkbox.
Move, Copy and Flip block of the whole board are transforms useful to guys who want to print/plot on only one page the Front and Back layers of a board.
Many hobbyists do that.

On Sun, Oct 17, 2010 at 8:46 AM, jean-pierre charras <jp.charras@xxxxxxxxxx <mailto:jp.charras@xxxxxxxxxx>> wrote:

    Le 17/10/2010 00:05, Marco Mattila a écrit :

        Hi,

        I have previously submitted a couple of patches that prevented direct manipulation of locked modules in pcbnew. However,
        within a
        block it remained possible to, e.g., move a locked module. This patch prevents locked modules from being added to the list of
        selected items in a block operation. The downside of doing this in the Block_SelectItems function is that it also prevents the
        block copy of locked items, if for some reason someone happens to need that.

    I am not sure this is a good idea:
    main usage of block move is to move the whole board, for instance to append a second board
    or center it on the page (for printing...)


    --
    Jean-Pierre CHARRAS

--
Jean-Pierre CHARRAS






Follow ups

References