Fixed not returning valid RoadMarks
This commit is contained in:
parent
37110043cd
commit
7b97f11959
|
@ -57,7 +57,7 @@ template <typename T>
|
|||
static boost::python::object OptionalToPythonObject(const T opt) {
|
||||
namespace py = boost::python;
|
||||
if (opt.has_value()) {
|
||||
py::object(opt.value());
|
||||
return py::object(opt.value());
|
||||
}
|
||||
return py::object();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue