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
Mike Balfour bf42e3f02a
Non-terrain-gem changes in support of upcoming terrain work. (#3345)
In preparation for a prototype Terrain Gem to get submitted, there are a few changes that are needed outside of the Terrain Gem as well:

The TerrainDataNotificationBus lives in AzFramework/Terrain, and needed to be extended to contain an optional OnTerrainDataChanged event to notify other systems when a terrain region has changed.
The HeightmapUpdateNotificationBus was removed, as this was a legacy file from the old already-removed terrain system.
The EditorWrappedComponentBase<> wrapper received a small optimization to ensure that ConfigurationChanged() is only called when the value of visibility actually changes. With prefabs, it appears that sometimes OnEntityVisibilityChanged could be called multiple times in a row with the same visibility value.
The TerrainSurfaceDataSystemComponent was updated to use the correct busses, and is ready to be moved to the Terrain Gem in a subsequent PR.

Signed-off-by: Mike Balfour 82224783+mbalfour-amzn@users.noreply.github.com
5 years ago
..
Include/SurfaceData Non-terrain-gem changes in support of upcoming terrain work. (#3345) 5 years ago
Source Non-terrain-gem changes in support of upcoming terrain work. (#3345) 5 years ago
Tests Merge branch 'development' into cmake/SPEC-7179 5 years ago
CMakeLists.txt Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
surfacedata_editor_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
surfacedata_files.cmake Merge branch 'development' into cmake/SPEC-7179 5 years ago
surfacedata_shared_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
surfacedata_tests_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago