From fa079716987e602bc33d9c837d441dce07759487 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Tue, 31 Dec 2013 17:54:05 +0100 Subject: [PATCH] minor improvement to libpython --- src/libpython/core.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libpython/core.cpp b/src/libpython/core.cpp index 7ec50060..4bead19d 100644 --- a/src/libpython/core.cpp +++ b/src/libpython/core.cpp @@ -131,6 +131,8 @@ public: return bp::object(props.getPoint(name)); case Properties::ETransform: return bp::object(props.getTransform(name)); + case Properties::EAnimatedTransform: + return bp::object(props.getAnimatedTransform(name)); case Properties::ESpectrum: return bp::object(props.getSpectrum(name)); default: @@ -148,6 +150,7 @@ public: bp::extract extractPoint(value); bp::extract extractTransform(value); bp::extract extractSpectrum(value); + bp::extract extractAnimatedTransform(value); if (extractString.check()){ props.setString(name, extractString()); @@ -163,6 +166,8 @@ public: props.setVector(name, extractVector()); } else if (extractTransform.check()) { props.setTransform(name, extractTransform()); + } else if (extractAnimatedTransform.check()) { + props.setAnimatedTransform(name, extractAnimatedTransform()); } else if (extractSpectrum.check()) { props.setSpectrum(name, extractSpectrum()); } else {