Skip to content

HGTD_PrepRawData: Fix dangling pointer to temporary.

Trk::Surface::localToGlobal() now returns a value rather than a reference, so globalPosition() is saving a pointer to an automatic variable. (The error was hidden by the use of auto.) Rework to use CachedValue instead. Can then use default copy ctor/assignment.

Merge request reports