Fixed the default implementation of transformation_from_shape in Python

This commit is contained in:
Matthias Koefferlein 2018-02-13 00:09:54 +01:00
parent 4f3b205d93
commit 12bb664a80
1 changed files with 1 additions and 1 deletions

View File

@ -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):