-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Fix prefetch bug - null reference in TilePrefetcherMenu #3634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix prefetch bug - null reference in TilePrefetcherMenu #3634
Conversation
… set from Flight Modes panel
- Update IsVehicleConnected to check for valid lat/lng coordinates - Add location validation to FlightData before updating Map3D - Prevents 3D map from centering on 0,0 when connected but no GPS fix
Brings in: - Tile loading algorithm improvements with weighted distance/zoom scoring - 500MB tile cache - Valid GPS location check (not 0,0) before tracking vehicle - Disconnected mode camera and tile loading improvements - Motor test smart assign swap feature Keeps STLModelLoader with default STL selection based on MAV_TYPE
- Enable smooth fractional zoom scrolling for all maps - Use camera position for 3D map tile generation - Set ScaleMode to Fractional for smoother zooming
Development merge
| numericUpDownMinZoom.Minimum = numericUpDownMaxZoom.Minimum = trackBarMinZoom.Minimum = trackBarMaxZoom.Minimum = min; | ||
| numericUpDownMinZoom.Maximum = numericUpDownMaxZoom.Maximum = trackBarMinZoom.Maximum = trackBarMaxZoom.Maximum = max; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert this change. I don't think moving these two lines down has anything to do with it. This PR should just be adding an isInitialized flag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed - hold my beer
|
Also fix up the commit message |
46eef54 to
ab67395
Compare
Summary
TilePrefetcherMenu.cswhenOverlayis nullOverlay.Polygonsto prevent crash during tile prefetch operationsTest plan