kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #18230
[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();
}
}
Follow ups