mirror of https://github.com/KLayout/klayout.git
WIP: fixed initialization code.
This commit is contained in:
parent
de6045fdf0
commit
0a9ab32f81
|
|
@ -124,7 +124,8 @@ SOURCES = \
|
|||
dbEmptyRegion.cc \
|
||||
dbFlatRegion.cc \
|
||||
dbOriginalLayerRegion.cc \
|
||||
dbRegionDelegate.cc
|
||||
dbRegionDelegate.cc \
|
||||
dbEdgesDelegate.cc
|
||||
|
||||
HEADERS = \
|
||||
dbArray.h \
|
||||
|
|
@ -218,7 +219,8 @@ HEADERS = \
|
|||
dbEmptyRegion.h \
|
||||
dbFlatRegion.h \
|
||||
dbOriginalLayerRegion.h \
|
||||
dbRegionDelegate.h
|
||||
dbRegionDelegate.h \
|
||||
dbEdgesDelegate.h
|
||||
|
||||
!equals(HAVE_QT, "0") {
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -145,8 +145,10 @@ Region::flat_region ()
|
|||
FlatRegion *region = dynamic_cast<FlatRegion *> (mp_delegate);
|
||||
if (! region) {
|
||||
region = new FlatRegion ();
|
||||
region->RegionDelegate::operator= (*mp_delegate);
|
||||
region->insert_seq (begin ());
|
||||
if (mp_delegate) {
|
||||
region->RegionDelegate::operator= (*mp_delegate);
|
||||
region->insert_seq (begin ());
|
||||
}
|
||||
set_delegate (region);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue