Fix python bindings.

This commit is contained in:
Hermann Kraus 2012-09-13 23:11:27 +02:00
parent 297bfeb454
commit 0615609e67

View file

@ -399,7 +399,8 @@ void export_text_placement()
; ;
class_with_converter<char_properties> class_with_converter<char_properties,
boost::shared_ptr<char_properties> >
("CharProperties") ("CharProperties")
.def_readwrite_convert("text_transform", &char_properties::text_transform) .def_readwrite_convert("text_transform", &char_properties::text_transform)
.def(init<char_properties const&>()) //Copy constructor .def(init<char_properties const&>()) //Copy constructor