diff --git a/python/dartpy/dynamics/Shape.cpp b/python/dartpy/dynamics/Shape.cpp index fbe12726e32fe..27ff8aacd44c7 100644 --- a/python/dartpy/dynamics/Shape.cpp +++ b/python/dartpy/dynamics/Shape.cpp @@ -397,8 +397,14 @@ void Shape(py::module& m) -> dart::common::ResourceRetrieverPtr { return self->getResourceRetriever(); }) - .def("setScale", py::overload_cast(&dart::dynamics::MeshShape), py::arg("scale")) - .def("setScale", py::overload_cast(&dart::dynamics::MeshShape), py::arg("scale")) + .def( + "setScale", + py::overload_cast(&dart::dynamics::MeshShape), + py::arg("scale")) + .def( + "setScale", + py::overload_cast(&dart::dynamics::MeshShape), + py::arg("scale")) .def( "getScale", +[](const dart::dynamics::MeshShape* self) -> const Eigen::Vector3d& {