From 12bb664a80e50d154b5a50ec636efb0f0a36c400 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Tue, 13 Feb 2018 00:09:54 +0100 Subject: [PATCH] Fixed the default implementation of transformation_from_shape in Python --- src/db/db/built-in-pymacros/pcell_declaration_helper.lym | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/db/built-in-pymacros/pcell_declaration_helper.lym b/src/db/db/built-in-pymacros/pcell_declaration_helper.lym index c69cbc74a..22a175075 100644 --- a/src/db/db/built-in-pymacros/pcell_declaration_helper.lym +++ b/src/db/db/built-in-pymacros/pcell_declaration_helper.lym @@ -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):