mirror of https://github.com/KLayout/klayout.git
Fixed scale & snap bug in non-editable mode
This commit is contained in:
parent
3b2db3b379
commit
0e1e4781a8
|
|
@ -520,7 +520,7 @@ scale_and_snap (db::Layout &layout, db::Cell &cell, db::Coord g, db::Coord m, db
|
|||
for (db::Layout::layer_iterator l = layout.begin_layers (); l != layout.end_layers (); ++l) {
|
||||
|
||||
db::Shapes &s = c->shapes ((*l).first);
|
||||
db::Shapes new_shapes;
|
||||
db::Shapes new_shapes (layout.is_editable ());
|
||||
|
||||
for (db::Shapes::shape_iterator si = s.begin (db::ShapeIterator::Polygons | db::ShapeIterator::Paths | db::ShapeIterator::Boxes); ! si.at_end (); ++si) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue