Fix broken polygon overlay.

This commit is contained in:
Kevin Ring 2021-07-22 23:41:53 +10:00
parent e72bc51a1d
commit 72f65c0f24
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ public:
: CesiumGeometry::Rectangle(0.0, 0.0, 0.0, 0.0));
LoadedRasterOverlayImage resultImage;
resultImage.rectangle = pTile->getRectangle();
CesiumGltf::ImageCesium image;
rasterizePolygons(image, tileRectangle, name, polygons);
resultImage.image = std::move(image);