mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-31 10:06:28 +02:00
Progress for CIF reader, avoid duplicate sorting
This commit is contained in:
@@ -164,6 +164,7 @@ CIFReader::get_char ()
|
||||
error ("Unexpected end of file");
|
||||
return 0;
|
||||
} else {
|
||||
m_progress.set (m_stream.line_number ());
|
||||
return m_stream.get_char ();
|
||||
}
|
||||
}
|
||||
@@ -823,6 +824,8 @@ void
|
||||
CIFReader::do_read (db::Layout &layout)
|
||||
{
|
||||
try {
|
||||
|
||||
db::LayoutLocker locker (&layout);
|
||||
|
||||
double sf = 0.01 / m_dbu;
|
||||
layout.dbu (m_dbu);
|
||||
|
||||
Reference in New Issue
Block a user