diff --git a/Source/Terrain2/Private/VoxelVolumeComponent.cpp b/Source/Terrain2/Private/VoxelVolumeComponent.cpp index 13130a06..29003490 100755 --- a/Source/Terrain2/Private/VoxelVolumeComponent.cpp +++ b/Source/Terrain2/Private/VoxelVolumeComponent.cpp @@ -20,7 +20,7 @@ UVoxelVolumeComponent::UVoxelVolumeComponent(const FObjectInitializer& ObjectIni this->bCastFarShadow = true; this->ManuallySetLODRanges = false; this->MaxOctreeDepth = 6; - this->LODRanges.AddDefaulted(7); + this->LODRanges.AddDefaulted(9); this->MultiplayerCorrectionRange = 512.00f; this->NodeCachingFactor = 5.00f; this->DefaultMaterial = NULL; diff --git a/Source/Terrain2/Public/VoxelVolumeMaterialPalette.h b/Source/Terrain2/Public/VoxelVolumeMaterialPalette.h index 2cdda965..74f436be 100755 --- a/Source/Terrain2/Public/VoxelVolumeMaterialPalette.h +++ b/Source/Terrain2/Public/VoxelVolumeMaterialPalette.h @@ -1,6 +1,6 @@ #pragma once #include "CoreMinimal.h" -#include "UObject/Object.h" +#include "Engine/DataAsset.h" // Data Asset fix #include "Chaos/ChaosEngineInterface.h" #include "CreativePaintMaterialMapping.h" #include "VoxelMaterial.h" @@ -8,8 +8,8 @@ class UMaterialInterface; -UCLASS(Blueprintable) -class TERRAIN2_API UVoxelVolumeMaterialPalette : public UObject { +UCLASS(Blueprintable, BlueprintType) +class TERRAIN2_API UVoxelVolumeMaterialPalette : public UDataAsset { GENERATED_BODY() public: protected: @@ -32,4 +32,3 @@ class TERRAIN2_API UVoxelVolumeMaterialPalette : public UObject { UVoxelVolumeMaterialPalette(); }; -