Rebuild the old ratsnest model only if GAL is inactive.
This commit is contained in:
parent
940765f4b3
commit
b25c407576
|
@ -549,7 +549,6 @@ void PCB_BASE_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList, bool
|
||||||
// Rebuild pointers and ratsnest that can be changed.
|
// Rebuild pointers and ratsnest that can be changed.
|
||||||
if( reBuild_ratsnest )
|
if( reBuild_ratsnest )
|
||||||
{
|
{
|
||||||
Compile_Ratsnest( NULL, true );
|
|
||||||
|
|
||||||
if( IsGalCanvasActive() )
|
if( IsGalCanvasActive() )
|
||||||
{
|
{
|
||||||
|
@ -558,7 +557,10 @@ void PCB_BASE_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList, bool
|
||||||
else
|
else
|
||||||
ratsnest->Recalculate();
|
ratsnest->Recalculate();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Compile_Ratsnest( NULL, true );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue