diff --git a/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Context.cpp b/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Context.cpp index 05058a71..d9f391e3 100644 --- a/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Context.cpp +++ b/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Context.cpp @@ -18,7 +18,8 @@ * Contact information: contact@sofa-framework.org * ******************************************************************************/ -#include +#include +#include #include #include #include @@ -29,7 +30,7 @@ namespace py { using namespace pybind11; } namespace sofapython3 { void moduleAddContext(py::module& m) { - py::class_> (m, "Context", "Implementation of BaseContext, storing all shared parameters in Datas"); + py::class_> (m, "Context", "Implementation of BaseContext, storing all shared parameters in Datas"); } } // namespace sofapython3 diff --git a/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Node.cpp b/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Node.cpp index 85d0de2b..743f04c4 100644 --- a/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Node.cpp +++ b/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Node.cpp @@ -679,7 +679,7 @@ void moduleAddNode(py::module &m) { py_shared_ptr>(m, "BaseNode", "Base class for simulation node"); py::class_> + sofa::core::objectmodel::BaseContext, py_shared_ptr> p(m, "Node", sofapython3::doc::sofa::core::Node::Class); PythonFactory::registerType(