mirror of
https://github.com/Relintai/terraman.git
synced 2025-04-23 21:43:23 +02:00
Store the id in the id property for the cached surfaces.
This commit is contained in:
parent
3a51d4c044
commit
1a395d3dc4
@ -135,6 +135,7 @@ void TerramanLibraryMergerPCM::_material_cache_get_key(Ref<TerraChunk> chunk) {
|
|||||||
|
|
||||||
Ref<TerraSurfaceMerger> nms = ms->duplicate();
|
Ref<TerraSurfaceMerger> nms = ms->duplicate();
|
||||||
nms->set_library(Ref<TerramanLibraryMergerPCM>(this));
|
nms->set_library(Ref<TerramanLibraryMergerPCM>(this));
|
||||||
|
nms->set_id(s);
|
||||||
|
|
||||||
cache->voxel_surface_add(nms);
|
cache->voxel_surface_add(nms);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user