← Back to team overview

kicad-developers team mailing list archive

MacOSX - Fixing cvpcb crash viewing footprint

 

On OSX trying to view the footprint in cvpcb triggers a crash for stack overflow.
Comment is self explanatory :)

Index: cvpcb/setvisu.cpp
===================================================================
--- cvpcb/setvisu.cpp	(revision 1818)
+++ cvpcb/setvisu.cpp	(working copy)
@@ -100,7 +100,11 @@
MODULE* Module = GetBoard()->m_Modules;
if ( Module )
Module->DisplayInfo( this );
+#ifndef __WXMAC__
+ // On OSX updating statubar triggers an update of the frame
+ // and its childs generating an infinite loop and crash
UpdateStatusBar();
+#endif
DrawPanel->Trace_Curseur( DC );
}