From acf3b3471135cb882ea47deda7b0b3650552826f Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 13 Dec 2015 22:40:07 +0100 Subject: [PATCH] + implement PropertyExpressionEngine::getPyObject --- src/App/PropertyExpressionEngine.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/App/PropertyExpressionEngine.cpp b/src/App/PropertyExpressionEngine.cpp index 0a7f0acb6ad8..fc5f45fcb8e8 100644 --- a/src/App/PropertyExpressionEngine.cpp +++ b/src/App/PropertyExpressionEngine.cpp @@ -31,6 +31,7 @@ #include "PropertyExpressionEngine.h" #include "PropertyStandard.h" #include "PropertyUnits.h" +#include #include #include @@ -738,7 +739,14 @@ void PropertyExpressionEngine::renameObjectIdentifiers(const std::mapfirst.toString())); + tuple.setItem(1, Py::String(it->second.expression->toString())); + list.append(tuple); + } + return Py::new_reference_to(list); } void PropertyExpressionEngine::setPyObject(PyObject *)