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/GradientSignal/Code/Source/Editor
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
..
EditorConstantGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorConstantGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorDitherGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorDitherGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorGradientSurfaceDataComponent.cpp Fixed intermittent unit test failures. (#7651) 4 years ago
EditorGradientSurfaceDataComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorGradientTransformComponent.cpp Change gradients to use cached GradientTransform instance (#6591) 4 years ago
EditorGradientTransformComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorImageBuilderComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorImageBuilderComponent.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
EditorImageGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorImageGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorImageProcessingSystemComponent.cpp Gems/GradientSignal 4 years ago
EditorImageProcessingSystemComponent.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
EditorInvertGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorInvertGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorLevelsGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorLevelsGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorMixedGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorMixedGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorPerlinGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorPerlinGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorPosterizeGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorPosterizeGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorRandomGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorRandomGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorReferenceGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorReferenceGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorShapeAreaFalloffGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorShapeAreaFalloffGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorSmoothStepGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorSmoothStepGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorStreamingImageAssetCtrl.cpp Only allow streaming image assets with supported pixel formats to be selected for an image gradient 4 years ago
EditorStreamingImageAssetCtrl.h Only allow streaming image assets with supported pixel formats to be selected for an image gradient 4 years ago
EditorSurfaceAltitudeGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorSurfaceAltitudeGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorSurfaceMaskGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorSurfaceMaskGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorSurfaceSlopeGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorSurfaceSlopeGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago
EditorThresholdGradientComponent.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
EditorThresholdGradientComponent.h Moved GradientSignal component headers to Include directory. 4 years ago