From 8aedb57a9774473cf207b793de414daf362b2f01 Mon Sep 17 00:00:00 2001 From: doterop Date: Wed, 7 Oct 2020 05:07:03 +0200 Subject: [PATCH] Updated mesh with objectlabel --- LibCarla/source/carla/rpc/Mesh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LibCarla/source/carla/rpc/Mesh.h b/LibCarla/source/carla/rpc/Mesh.h index b082ad1d2..71a29bad5 100644 --- a/LibCarla/source/carla/rpc/Mesh.h +++ b/LibCarla/source/carla/rpc/Mesh.h @@ -12,6 +12,7 @@ #include "carla/geom/BoundingBox.h" #include "carla/rpc/Transform.h" +#include "carla/rpc/ObjectLabel.h" namespace carla { namespace rpc { @@ -22,7 +23,7 @@ namespace rpc { geom::BoundingBox bounding_box; uint64_t id = 0; std::string name; - //CityObjectLabel type; + CityObjectLabel type = CityObjectLabel::None; #ifdef LIBCARLA_INCLUDED_FROM_UE4