mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-22 14:07:15 +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
|
// Clear all instances
|
||||||
for (std::set<cell_index_type>::const_iterator c = cells_to_delete.begin (); c != cells_to_delete.end (); ++c) {
|
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