diff --git a/src/mbgl/map/vector_tile_data.cpp b/src/mbgl/map/vector_tile_data.cpp index 048e7083b..3fe96599d 100644 --- a/src/mbgl/map/vector_tile_data.cpp +++ b/src/mbgl/map/vector_tile_data.cpp @@ -28,7 +28,9 @@ VectorTileData::VectorTileData(const TileID& id_, std::make_unique(angle, pitch, collisionDebug)), source(source_), lastAngle(angle), - currentAngle(angle) { + currentAngle(angle), + currentPitch(pitch), + currentCollisionDebug(collisionDebug) { } VectorTileData::~VectorTileData() {