mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-22 04:15:44 +02:00
Decouple MeshMakeData from Client
This commit is contained in:
@@ -77,7 +77,7 @@ MapblockMeshGenerator::MapblockMeshGenerator(MeshMakeData *input, MeshCollector
|
||||
scene::IMeshManipulator *mm):
|
||||
data(input),
|
||||
collector(output),
|
||||
nodedef(data->m_client->ndef()),
|
||||
nodedef(data->nodedef),
|
||||
meshmanip(mm),
|
||||
blockpos_nodes(data->m_blockpos * MAP_BLOCKSIZE),
|
||||
enable_mesh_cache(g_settings->getBool("enable_mesh_cache") &&
|
||||
|
Reference in New Issue
Block a user