mirror of https://github.com/KLayout/klayout.git
Fixed #1167 (delete_cells slow)
This commit is contained in:
parent
9f2cf7275f
commit
c8e60d666c
|
|
@ -795,6 +795,8 @@ Layout::delete_cells (const std::set<cell_index_type> &cells_to_delete)
|
|||
}
|
||||
}
|
||||
|
||||
db::LayoutLocker locker (this);
|
||||
|
||||
// Clear all instances
|
||||
for (std::set<cell_index_type>::const_iterator c = cells_to_delete.begin (); c != cells_to_delete.end (); ++c) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue