Fixed EnvironmentObject Python type

This commit is contained in:
doterop 2020-11-09 22:52:09 +01:00 committed by bernat
parent 6392c0bf00
commit 42c4c15569
1 changed files with 1 additions and 2 deletions

View File

@ -169,10 +169,9 @@ void export_world() {
class_<cr::EnvironmentObject>("EnvironmentObject", no_init)
.def_readwrite("transform", &cr::EnvironmentObject::transform)
.def_readwrite("bounding_box", &cr::EnvironmentObject::bounding_box)
cr::CityObjectLabel::None
.def_readwrite("id", &cr::EnvironmentObject::id)
.def_readwrite("name", &cr::EnvironmentObject::name)
.def_readwrite("type", &cr::CityObjectLabel::type)
.def_readwrite("type", &cr::EnvironmentObject::type)
.def(self_ns::str(self_ns::self))
;