We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1c9159 commit cfef261Copy full SHA for cfef261
1 file changed
src/pyluxcore/pyluxcore.cpp
@@ -2283,6 +2283,12 @@ PYBIND11_MODULE(pyluxcore, m) {
2283
{ return std::make_unique<luxrays::Properties>(s); }
2284
)
2285
2286
+ .def(
2287
+ py::init(
2288
+ [](const Properties& props) -> std::unique_ptr<luxrays::Properties>
2289
+ { return props.Clone(); }
2290
+ )
2291
2292
2293
// Required because Properties::Set is overloaded
2294
.def<luxrays::Properties &(luxrays::Properties::*)(PropertyRPtr)>
0 commit comments