kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #02733
MacOSX - Fixing cvpcb crash viewing footprint
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"Marco Serantoni" <marco.serantoni@...>
-
Date:
Tue, 16 Jun 2009 17:23:12 -0000
-
User-agent:
eGroups-EW/0.82
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 );
}