mirror of https://github.com/KLayout/klayout.git
Fixed #278 (lost reference to Shape object from ObjectInstPath)
This commit is contained in:
parent
f59e49d678
commit
2fd43ec656
|
|
@ -229,7 +229,7 @@ gsi::Class<lay::ObjectInstPath> decl_ObjectInstPath ("lay", "ObjectInstPath",
|
|||
"\n"
|
||||
"This method has been introduced in version 0.24."
|
||||
) +
|
||||
gsi::method ("shape", (db::Shape &(lay::ObjectInstPath::*) ()) &lay::ObjectInstPath::shape,
|
||||
gsi::method ("shape", (const db::Shape &(lay::ObjectInstPath::*) () const) &lay::ObjectInstPath::shape,
|
||||
"@brief Gets the shape object that describes the selected shape geometrically\n"
|
||||
"\n"
|
||||
"This method delivers valid results only for object selections that represent shapes, i.e for "
|
||||
|
|
|
|||
|
|
@ -362,7 +362,7 @@ pya_plain_iterator_next (PyObject *self)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
// increment on first visit
|
||||
// increment except on first visit
|
||||
if (! iter->first) {
|
||||
iter->iter->inc ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue