mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-02 02:47:48 +02:00
Fixed #278 (lost reference to Shape object from ObjectInstPath)
This commit is contained in:
@@ -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 ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user