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
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