kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #03089
regression: Very slow opening of the zone settings dialog
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
Rok Markovič <rok@...>
-
Date:
Tue, 15 Sep 2009 10:26:55 +0200
-
Organization:
Kanardia d.o.o.
-
User-agent:
KMail/1.12.1 (Linux/2.6.28-15-generic; KDE/4.3.1; x86_64; ; )
Hi
I must say at first, I am astonished by improvements in KiCad,
With Undo/Redo feature in pcbnew there is regression when trying to
edit the zone properties. The problem is, with creating the Copy
of all ZONE_CONTAINER-s. Particular in ZONE_CONTAINER::Copy() method
where you set hatch style. This line is problematic:
m_Poly->SetHatch( src->m_Poly->GetHatchStyle() );
and I think we acctually do not need it. Hatch style is set allready
in CPolyLine::Copy().
If I comment this line everything is quick again.
Regards,
Rok
--
Rok MarkoviÄ
Kanardia d.o.o.
Ul. heroja Rojška 70
SI-3000 Celje
Tel: +386 3 424 4242
Fax: +386 3 424 4195
Mob: +386 40 360 963
E-mail: rok.markovic@...
URL: www.kanardia.eu