Skip to content

Commit c65c8d1

Browse files
Apply changes from PR #6266 (#636)
* Apply changes from PR #6266 * Apply changes from PR #6266 * Remove Binding_Context
1 parent add21dc commit c65c8d1

5 files changed

Lines changed: 1 addition & 70 deletions

File tree

‎bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Context.cpp‎

Lines changed: 0 additions & 35 deletions
This file was deleted.

‎bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Context.h‎

Lines changed: 0 additions & 30 deletions
This file was deleted.

‎bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_Node.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ void moduleAddNode(py::module &m) {
679679
py_shared_ptr<sofa::core::objectmodel::BaseNode>>(m, "BaseNode", "Base class for simulation node");
680680

681681
py::class_<Node, sofa::core::objectmodel::BaseNode,
682-
sofa::core::objectmodel::Context, py_shared_ptr<Node>>
682+
sofa::core::objectmodel::BaseContext, py_shared_ptr<Node>>
683683
p(m, "Node", sofapython3::doc::sofa::core::Node::Class);
684684

685685
PythonFactory::registerType<sofa::simulation::Node>(

‎bindings/Sofa/src/SofaPython3/Sofa/Core/CMakeLists.txt‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ set(HEADER_FILES
1414
${CMAKE_CURRENT_SOURCE_DIR}/Binding_BaseContext.h
1515
${CMAKE_CURRENT_SOURCE_DIR}/Binding_ContactListener.h
1616
${CMAKE_CURRENT_SOURCE_DIR}/Binding_ContactListener_doc.h
17-
${CMAKE_CURRENT_SOURCE_DIR}/Binding_Context.h
1817
${CMAKE_CURRENT_SOURCE_DIR}/Binding_Component.h
1918
${CMAKE_CURRENT_SOURCE_DIR}/Binding_Component.inl
2019
${CMAKE_CURRENT_SOURCE_DIR}/Binding_Component_doc.h
@@ -70,7 +69,6 @@ set(SOURCE_FILES
7069
${CMAKE_CURRENT_SOURCE_DIR}/Binding_BaseCamera.cpp
7170
${CMAKE_CURRENT_SOURCE_DIR}/Binding_BaseContext.cpp
7271
${CMAKE_CURRENT_SOURCE_DIR}/Binding_ContactListener.cpp
73-
${CMAKE_CURRENT_SOURCE_DIR}/Binding_Context.cpp
7472
${CMAKE_CURRENT_SOURCE_DIR}/Binding_Component.cpp
7573
${CMAKE_CURRENT_SOURCE_DIR}/Binding_Controller.cpp
7674
${CMAKE_CURRENT_SOURCE_DIR}/Binding_DataEngine.cpp

‎bindings/Sofa/src/SofaPython3/Sofa/Core/Submodule_Core.cpp‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ using sofa::helper::logging::Message;
3333
#include <SofaPython3/Sofa/Core/Binding_ForceField.h>
3434
#include <SofaPython3/Sofa/Core/Binding_Mass.h>
3535
#include <SofaPython3/Sofa/Core/Binding_ContactListener.h>
36-
#include <SofaPython3/Sofa/Core/Binding_Context.h>
3736
#include <SofaPython3/Sofa/Core/Binding_Component.h>
3837
#include <SofaPython3/Sofa/Core/Binding_Controller.h>
3938
#include <SofaPython3/Sofa/Core/Binding_DataEngine.h>
@@ -142,7 +141,6 @@ PYBIND11_MODULE(Core, core)
142141
moduleAddBaseComponent(core);
143142
moduleAddBaseCamera(core);
144143
moduleAddContactListener(core);
145-
moduleAddContext(core);
146144
moduleAddComponent(core);
147145
moduleAddController(core);
148146
moduleAddDataEngine(core);

0 commit comments

Comments
 (0)