diff --git a/src/python/magnum/magnum.cpp b/src/python/magnum/magnum.cpp index 29d3a93..d04e455 100644 --- a/src/python/magnum/magnum.cpp +++ b/src/python/magnum/magnum.cpp @@ -113,6 +113,8 @@ template void imageView(py::class_>& c) { } template void imageViewFromMutable(py::class_>& c) { + py::implicitly_convertible, T>(); + c .def(py::init([](const BasicMutableImageView& other) { return pyImageViewHolder(BasicImageView(other), pyObjectHolderFor(other).owner);