← Back to team overview

kicad-developers team mailing list archive

Pin numbers and library modified

 

While profiling library loading I noticed that SCH_LEGACY_PLUGIN_CACHE::loadPin() calls pin->SetName() and pin->SetNumber(), which appear to be UI-level routines.

Among other things, they (1) set the modified flag (is this perhaps behind the library-alwasy-modified bug) and convert all spaces to underscores (do we need to do this when reading from a library file — it appears prominently in profiles?).

Follow ups