You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/SurfaceData/Code/Source
Mike Balfour 16d6cbca2a
Fixed intermittent unit test failures. (#7651)
The problem is that SurfacePoint doesn't have default values when constructed, and a few of the unit tests weren't setting m_position because the values weren't strictly needed for the test. However, the SurfacePointList checks them for validity and asserted when they couldn't be found, which was hit-and-miss due to it being uninitialized memory that was usually but not always 0xCCCCCCCC.
Improved the assert message and set the position values everywhere.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>
4 years ago
..
Components Optimize SurfaceData bulk queries (#7593) 4 years ago
Editor Switched Gradient Surface benchmarks to use actual surface components. (#7468) 4 years ago
SurfaceDataEditorModule.cpp Switched Gradient Surface benchmarks to use actual surface components. (#7468) 4 years ago
SurfaceDataEditorModule.h Merge branch 'development' into cmake/SPEC-7179 4 years ago
SurfaceDataModule.cpp Switched Gradient Surface benchmarks to use actual surface components. (#7468) 4 years ago
SurfaceDataModule.h Merge branch 'development' into cmake/SPEC-7179 4 years ago
SurfaceDataSystemComponent.cpp Optimize SurfaceData bulk queries (#7593) 4 years ago
SurfaceDataTypes.cpp Optimize SurfaceData bulk queries (#7593) 4 years ago
SurfaceDataUtility.cpp Deprecate profiler categories based on global enum 4 years ago
SurfacePointList.cpp Fixed intermittent unit test failures. (#7651) 4 years ago
SurfaceTag.cpp Deprecate profiler categories based on global enum 4 years ago