mirror of https://github.com/KLayout/klayout.git
Issue 994 (#1006)
* Implemented issue-982 (heal option for strmxor) The option is -m or --heal. It is default off as in boundary cases (e.g. full layer vs. empty) the healing adds a considerable memory and performance penalty. Healing is only effective with tiling and affects output shapes as well as shape counts. * Fixed issue 994 (maybe, increased capture range for catching an existing selection)
This commit is contained in:
parent
7ef5cdd8ac
commit
c46307a989
|
|
@ -159,7 +159,10 @@ Editables::selection_catch_bbox ()
|
|||
{
|
||||
db::DBox sel_bbox;
|
||||
for (iterator e = begin (); e != end (); ++e) {
|
||||
double l = e->catch_distance ();
|
||||
// we use a larger distance for the bbox because once there is a box it's
|
||||
// more likely we want to capture it and it's tedious to capture a single
|
||||
// text otherwise (issue-994).
|
||||
double l = e->catch_distance () * 3.0;
|
||||
sel_bbox += e->selection_bbox ().enlarged (db::DVector (l, l));
|
||||
}
|
||||
return sel_bbox;
|
||||
|
|
|
|||
Loading…
Reference in New Issue