Skip to content

Commit 4520f24

Browse files
committed
fix(Python): missing Component active binding
1 parent 1cc445c commit 4520f24

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

bindings/python/src/model/mixin/core/component.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
"Component" + std::to_string( dimension ) + "D"; \
3131
pybind11::class_< Component##dimension##D, Identifier, \
3232
pybind11::smart_holder >( module, name##dimension.c_str() ) \
33-
.def( "component_type", &Component##dimension##D::component_type )
33+
.def( "component_type", &Component##dimension##D::component_type ) \
34+
.def( "component_id", &Component##dimension##D::component_id ) \
35+
.def( "is_active", &Component##dimension##D::is_active )
3436

3537
namespace geode
3638
{

0 commit comments

Comments
 (0)