mirror of https://github.com/KLayout/klayout.git
Unit tests are passing again (no new tests yet).
This commit is contained in:
parent
16b5e2f99c
commit
282c6f70e2
|
|
@ -618,10 +618,10 @@ RecursiveShapeIterator::down () const
|
||||||
box_type new_region = box_type::world ();
|
box_type new_region = box_type::world ();
|
||||||
|
|
||||||
// compute the region inside the new cell
|
// compute the region inside the new cell
|
||||||
if (m_region != m_local_region_stack.front ()) {
|
if (new_region != m_local_region_stack.front ()) {
|
||||||
new_region = m_trans.inverted () * m_local_region_stack.front ();
|
new_region = m_trans.inverted () * m_local_region_stack.front ();
|
||||||
|
new_region &= cell ()->bbox ();
|
||||||
}
|
}
|
||||||
new_region &= mp_cell->bbox ();
|
|
||||||
m_local_region_stack.push_back (new_region);
|
m_local_region_stack.push_back (new_region);
|
||||||
|
|
||||||
if (! m_local_complex_region_stack.empty ()) {
|
if (! m_local_complex_region_stack.empty ()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue