← Back to team overview

kicad-developers team mailing list archive

OSX: problem with Sheet after release 2388

 

After the change of USE_WX_ZOOM there was a problem on the display of the worksheet.
Lines where almost invisibile on pcbnew while instead are almost ok on eeschema.
I suspect that the problem is in the scaling of lines size and the difference of internal size between eeschema and pcbnew and that could be not showed on other platforms that have as granularity the pixel.

I've developed this dirty trick and i wish being tested before commit it.

--
Marco

Index: tracepcb.cpp
===================================================================
--- tracepcb.cpp	(revision 2391)
+++ tracepcb.cpp	(working copy)
@@ -41,7 +41,7 @@
GRSetDrawMode( DC, GR_COPY );
 
DrawPanel->DrawBackGround( DC );
- TraceWorkSheet( DC, screen, 0 );
+ TraceWorkSheet( DC, screen, 100);
 
/* Redraw the footprints */
for( MODULE* module = GetBoard()->m_Modules; module; module = module->Next() )
@@ -73,7 +73,7 @@
 
DrawPanel->DrawBackGround( DC );
 
- TraceWorkSheet( DC, GetScreen(), 0 );
+ TraceWorkSheet( DC, GetScreen(), 100);
 
GetBoard()->Draw( DrawPanel, DC, GR_OR );








Follow ups