LYN-7056 SurfaceDataConstants should be revised to have no terrain references
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <AzFramework/Asset/AssetCatalogBus.h>
|
||||
#include <AzToolsFramework/ToolsComponents/EditorComponentBase.h>
|
||||
#include <SurfaceData/SurfaceDataTagProviderRequestBus.h>
|
||||
#include <Terrain/TerrainDataConstants.h>
|
||||
|
||||
namespace AZ::Data
|
||||
{
|
||||
@@ -22,6 +23,15 @@ namespace AZ::Data
|
||||
|
||||
namespace SurfaceData
|
||||
{
|
||||
namespace Constants
|
||||
{
|
||||
static const char* s_allTagNames[] = {
|
||||
Constants::s_unassignedTagName,
|
||||
Terrain::Constants::s_terrainHoleTagName,
|
||||
Terrain::Constants::s_terrainTagName,
|
||||
};
|
||||
} //namespace Constants
|
||||
|
||||
class EditorSurfaceDataSystemConfig
|
||||
: public AZ::ComponentConfig
|
||||
{
|
||||
@@ -47,7 +57,6 @@ namespace SurfaceData
|
||||
static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
|
||||
|
||||
private:
|
||||
|
||||
void LoadAsset(const AZ::Data::AssetId& assetId);
|
||||
void AddAsset(AZ::Data::Asset<AZ::Data::AssetData>& asset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user