Skip to content

Commit

Permalink
FIXUP 2
Browse files Browse the repository at this point in the history
  • Loading branch information
damienmarchal committed Oct 2, 2024
1 parent 7d4549e commit 4894b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ void moduleAddNode(py::module &m) {
def_method(p, "addObject")
.add_override(addObjectKwargs, sofapython3::doc::sofa::core::Node::addObjectKwargs)
.add_override(addObject, sofapython3::doc::sofa::core::Node::addObject)
.add_override("addObject[T]() -> T", addObjectGenericType, sofapython3::doc::sofa::core::Node::addObjectGenerictype);
.add_override("addObject[T](self) -> T", addObjectGenericType, sofapython3::doc::sofa::core::Node::addObjectGenerictype);

p.def("createObject", &createObject, sofapython3::doc::sofa::core::Node::createObject, py::keep_alive<0, 2>());
p.def("hasObject", &hasObject, sofapython3::doc::sofa::core::Node::hasObject);
Expand Down

0 comments on commit 4894b15

Please sign in to comment.