kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #18281
Re: [PATCH] Pcbnew: update rats nest after exactly move
Ohh, you mean in the legacy canvas. Also I noticed some
inconsistencies with the renders. When moving track segment in legacy
it will be "detached" from the net, but in GAL it the restnest will
still include the loose track segment. (I have not tried your patch
yet)
2015-05-13 22:26 GMT+02:00 Nick Østergaard <oe.nick@xxxxxxxxx>:
> I can't seem to reproduce this bug on 5645. When I use the right
> click context menu for a track segment or a footprint in pcbnew the
> rastnest is updated accordingly.
>
> 2015-05-13 20:30 GMT+02:00 Joel Matějka <JoelM@xxxxxxxxx>:
>> Hi,
>>
>> I haven't specified this patch enough. When you move a segment (or a pad) by
>> specifying offset in move exactly function in on right click menu, the
>> segment is moved, but rats nest is not recalculated (not shown new
>> disconnection). When you click undo and redo, rats nest is shown correctly.
>> I'm sure that rats nets should be recalculated also after the move.
>>
>> Best Regards
>> Joel
>>
>> ---------- Původní zpráva ----------
>> Od: Joel Matějka <JoelM@xxxxxxxxx>
>> Komu: kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Datum: 9. 5. 2015 17:58:51
>> Předmět: [Kicad-developers] [PATCH] Pcbnew: update rats nest after exactly
>> move
>>
>>
>> Hi,
>>
>> there is a patch that updates rats nest after moving "board item" exactly
>> (segment or pad).
>>
>> Best Regards
>> Joel
>>
>> === modified file 'pcbnew/edit.cpp'
>> --- pcbnew/edit.cpp 2015-04-22 16:39:49 +0000
>> +++ pcbnew/edit.cpp 2015-05-09 15:32:18 +0000
>> @@ -1532,6 +1532,11 @@
>>
>> item->Move( translation );
>> item->Rotate( item->GetPosition(), rotation );
>> +
>> + // Check for rats nest
>> + if( GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) )
>> + Compile_Ratsnest( NULL, true );
>> +
>> m_canvas->Refresh();
>> }
>> }
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
>>
References