mirror of https://github.com/KLayout/klayout.git
Fixed the default implementation of transformation_from_shape in Python
This commit is contained in:
parent
4f3b205d93
commit
12bb664a80
|
|
@ -443,7 +443,7 @@ class _PCellDeclarationHelper(pya.PCellDeclaration):
|
|||
"""
|
||||
default implementation
|
||||
"""
|
||||
return pya.Trans.new
|
||||
return pya.Trans()
|
||||
|
||||
# import the Type... constants from PCellParameterDeclaration
|
||||
for k in dir(pya.PCellParameterDeclaration):
|
||||
|
|
|
|||
Loading…
Reference in New Issue