From 4520f248ac24732a6022aefbbade21454ec0be94 Mon Sep 17 00:00:00 2001 From: Arnaud Botella Date: Thu, 19 Mar 2026 15:23:02 +0100 Subject: [PATCH] fix(Python): missing Component active binding --- bindings/python/src/model/mixin/core/component.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bindings/python/src/model/mixin/core/component.cpp b/bindings/python/src/model/mixin/core/component.cpp index efc2c6984..dd129e211 100644 --- a/bindings/python/src/model/mixin/core/component.cpp +++ b/bindings/python/src/model/mixin/core/component.cpp @@ -30,7 +30,9 @@ "Component" + std::to_string( dimension ) + "D"; \ pybind11::class_< Component##dimension##D, Identifier, \ pybind11::smart_holder >( module, name##dimension.c_str() ) \ - .def( "component_type", &Component##dimension##D::component_type ) + .def( "component_type", &Component##dimension##D::component_type ) \ + .def( "component_id", &Component##dimension##D::component_id ) \ + .def( "is_active", &Component##dimension##D::is_active ) namespace geode {