Skip to content

Commit 8f2c9c9

Browse files
committed
Fix python binding
1 parent decb0b1 commit 8f2c9c9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

python/dartpy/dynamics/Shape.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,11 +399,12 @@ void Shape(py::module& m)
399399
})
400400
.def(
401401
"setScale",
402-
py::overload_cast<const Eigen::Vector3d&>(&dart::dynamics::MeshShape),
402+
py::overload_cast<const Eigen::Vector3d&>(
403+
&dart::dynamics::MeshShape::setScale),
403404
py::arg("scale"))
404405
.def(
405406
"setScale",
406-
py::overload_cast<double>(&dart::dynamics::MeshShape),
407+
py::overload_cast<double>(&dart::dynamics::MeshShape::setScale),
407408
py::arg("scale"))
408409
.def(
409410
"getScale",

0 commit comments

Comments
 (0)