Skip to content

Commit

Permalink
Add name_to_layer_id to python bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenZephyr committed Mar 6, 2025
1 parent 9ed2949 commit acfeb09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/bindings/src/spark_dsg_bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ PYBIND11_MODULE(_dsg_bindings, module) {
.def_readonly_static("PLACES", &DsgLayers::PLACES)
.def_readonly_static("MESH_PLACES", &DsgLayers::MESH_PLACES)
.def_readonly_static("ROOMS", &DsgLayers::ROOMS)
.def_readonly_static("BUILDINGS", &DsgLayers::BUILDINGS);
.def_readonly_static("BUILDINGS", &DsgLayers::BUILDINGS)
.def("name_to_layer_id", &DsgLayers::nameToLayerId);

py::class_<LayerKey>(module, "LayerKey")
.def(py::init<LayerId>())
Expand Down

0 comments on commit acfeb09

Please # to comment.