Skip to content

Commit d334144

Browse files
committed
Fix uninitialized geocoder fields
1 parent 7a021a1 commit d334144

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log {#changes}
22

3+
### ? - ?
4+
5+
##### Fixes :wrench:
6+
7+
- Fixed error messages in the Unreal log about uninitialized fields in `FCesiumGeocoderServiceAttribution` and `FCesiumGeocoderServiceFeature`.
8+
39
### v2.17.0 - 2025-07-01
410

511
This is the last release of Cesium for Unreal that will support Unreal Engine v5.3. Future versions will require Unreal Engine v5.4+.

Source/CesiumRuntime/Public/CesiumGeocoderServiceBlueprintLibrary.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ struct FCesiumGeocoderServiceAttribution {
8787
* Otherwise, it can appear in a popover.
8888
*/
8989
UPROPERTY(BlueprintReadOnly, Category = "Cesium|Geocoder")
90-
bool bShowOnScreen;
90+
bool bShowOnScreen = false;
9191
};
9292

9393
/**
@@ -121,7 +121,7 @@ struct FCesiumGeocoderServiceFeature {
121121
BlueprintReadOnly,
122122
Category = "Cesium|Geocoder",
123123
meta = (AllowPrivateAccess))
124-
FVector LongitudeLatitudeHeight;
124+
FVector LongitudeLatitudeHeight = FVector::Zero();
125125

126126
/**
127127
* @brief The globe rectangle that bounds the feature. The box's `Min.X` is

0 commit comments

Comments
 (0)