From f26a104300beee90135f69e722de859c1cfc0eb0 Mon Sep 17 00:00:00 2001
From: Ansgar Philippsen <ansgar.philippsen@gmail.com>
Date: Fri, 27 Jul 2012 15:19:26 +0200
Subject: [PATCH] fixed transform py export

---
 modules/mol/base/pymod/export_entity.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/mol/base/pymod/export_entity.cc b/modules/mol/base/pymod/export_entity.cc
index d01cd0472..bb55d9bd6 100644
--- a/modules/mol/base/pymod/export_entity.cc
+++ b/modules/mol/base/pymod/export_entity.cc
@@ -100,6 +100,8 @@ PyObject* get_pos1(EntityHandle& entity)
   return get_pos2(entity,true);
 }
 
+#endif
+
 geom::Mat4 depr_get_transformation_matrix(const EntityHandle& eh)
 {
   return eh.GetTransformationMatrix();
@@ -110,7 +112,6 @@ bool depr_is_transformation_identity(const EntityHandle& eh)
   return eh.IsTransformationIdentity();
 }
 
-#endif
 } // ns
 
 void export_Entity()
-- 
GitLab