mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-22 05:57:41 +02:00
Fixed #1167 (delete_cells slow)
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user