mirror of
https://github.com/Relintai/terraman.git
synced 2025-04-25 21:45:00 +02:00
When the world adds a MeshDataResource to the chunk it should not be scaled again.
This commit is contained in:
parent
94c9fc39ac
commit
01721b9488
@ -599,7 +599,7 @@ void TerraWorld::prop_add(Transform tarnsform, const Ref<PropData> &prop, const
|
||||
if (!mdr.is_valid())
|
||||
continue;
|
||||
|
||||
chunk->mesh_data_resource_add(t, mdr, mesh_data->get_texture());
|
||||
chunk->mesh_data_resource_add(t, mdr, mesh_data->get_texture(), Color(1, 1, 1, 1), false);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user