mirror of
https://github.com/Relintai/terraman.git
synced 2025-04-23 21:43:23 +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())
|
if (!mdr.is_valid())
|
||||||
continue;
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user