Fixed EnvironmentObject Python type
This commit is contained in:
parent
6392c0bf00
commit
42c4c15569
|
@ -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))
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in New Issue