Zero size images in eeschema cause invisible wires in OS X
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Working with this project at this revision:
https:/
this file:
design/BLDC_4.sch
Here's what I see and expect to see: http://
Application: eeschema
Version: (2015-12-22 BZR 6403)-product debug build
wxWidgets: Version 3.0.2 (debug,
Platform: Mac OS X (Darwin 15.2.0 x86_64), 64 bit, Little endian, wxMac
Boost version: 1.54.0
libcurl version: 7.46.0 (with SSL - OpenSSL/1.0.2e)
I've built this from source today with wxPython 3.0.2 (with webkit something edited to include WebKitLegacy.h so it compiles on OS X 10.11 (this shouldn't be needed for 3.0.3, see http://
On the console when running these are printed after loading this schematic:
kiRound_: in file /Users/
kiRound_: in file /Users/
Dec 24 12:59:12 eeschema[72466] <Error>: CGAffineTransfo
There's more but I lost it because I kept searching. The schematic does in fact have a 0 scale image (lines 1312-4826 or so in the .sch file), and editing the eeschema source as follows seems to cause the printed errors to go away and missing wires and lines return.
in kicad/common/
void BITMAP_
{
if( m_bitmap == NULL )
return;
wxPoint pos = aPos;
wxSize size = GetSize();
// HACK: skip drawing 0x0 images
if (size.x == 0 && size.y == 0)
{
return;
}
Related branches
Changed in kicad: | |
status: | New → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |