| 409 | #if TERRAIN_EDITING |
| 410 | |
| 411 | bool Terrain::SetupPatchHeightMap(const Int2& patchCoord, int32 heightMapLength, const float* heightMap, const byte* holesMask, bool forceUseVirtualStorage) |
| 412 | { |
| 413 | auto patch = GetPatch(patchCoord); |
| 414 | if (patch) |
| 415 | { |
| 416 | return patch->SetupHeightMap(heightMapLength, heightMap, holesMask, forceUseVirtualStorage); |
| 417 | } |
| 418 | return true; |
| 419 | } |
| 420 | |
| 421 | bool Terrain::SetupPatchSplatMap(const Int2& patchCoord, int32 index, int32 splatMapLength, const Color32* splatMap, bool forceUseVirtualStorage) |
| 422 | { |
no test coverage detected