From 1ce696203e5f2851eff9f7b3cc8b0cbdde274ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 2 Sep 2022 19:44:47 +0200 Subject: [PATCH] python: TODOs. --- src/python/magnum/trade.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/python/magnum/trade.cpp b/src/python/magnum/trade.cpp index cc790d3..356537a 100644 --- a/src/python/magnum/trade.cpp +++ b/src/python/magnum/trade.cpp @@ -326,7 +326,7 @@ void trade(py::module_& m) { py::class_> abstractImporter{m, "AbstractImporter", "Interface for importer plugins"}; corrade::plugin(abstractImporter); abstractImporter - /** @todo features (once moved outside of the importer) */ + /** @todo features */ .def_property_readonly("is_opened", &Trade::AbstractImporter::isOpened, "Whether any file is opened") .def("open_data", [](Trade::AbstractImporter& self, Containers::ArrayView data) { /** @todo log redirection -- but we'd need assertions to not be @@ -381,6 +381,7 @@ void trade(py::module_& m) { /* Image converter */ py::class_> abstractImageConverter{m, "AbstractImageConverter", "Interface for image converter plugins"}; abstractImageConverter + /** @todo features */ .def("convert_to_file", checkImageConverterResult, "Convert a 1D image to a file", py::arg("image"), py::arg("filename")) .def("convert_to_file", checkImageConverterResult, "Convert a 2D image to a file", py::arg("image"), py::arg("filename")) .def("convert_to_file", checkImageConverterResult, "Convert a 3D image to a file", py::arg("image"), py::arg("filename")); @@ -392,6 +393,7 @@ void trade(py::module_& m) { /* Scene converter */ py::class_> abstractSceneConverter{m, "AbstractSceneConverter", "Interface for scene converter plugins"}; abstractSceneConverter + /** @todo features */ .def("convert_to_file", checkSceneConverterResult, "Convert a mesh to a file", py::arg("mesh"), py::arg("filename")); corrade::plugin(abstractSceneConverter);