When the world adds a MeshDataResource to the chunk it should not be scaled again.

This commit is contained in:
Relintai 2021-08-07 11:08:20 +02:00
parent 94c9fc39ac
commit 01721b9488

View File

@ -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;
} }