mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-01 18:37:50 +02:00
Fixed interpretation of TYPE OVERLAP, added test
This commit is contained in:
@@ -522,7 +522,7 @@ GeometryBasedLayoutGenerator::subtract_overlap_from_outline (const std::set<std:
|
||||
pn += 2;
|
||||
}
|
||||
|
||||
db::BooleanOp op (db::BooleanOp::ANotB);
|
||||
db::BooleanOp op (db::BooleanOp::And);
|
||||
db::ShapeGenerator sg (s->second, true /*clear shapes*/);
|
||||
db::PolygonGenerator out (sg, true, true);
|
||||
proc.process (out, op);
|
||||
|
||||
@@ -1011,3 +1011,10 @@ TEST(209_invalid_split_paths)
|
||||
run_test (_this, "issue-1472", "map:tech.map+lef:tech.lef.gz+def:test.def.gz", "au.oas", default_options (), false);
|
||||
}
|
||||
|
||||
// issue-1499
|
||||
TEST(210_overlaps)
|
||||
{
|
||||
run_test (_this, "issue-1499", "map:tech.map+lef:tech.lef+lef:blocks.lef+def:top.def", "au.oas", default_options (), false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user