From 01721b948887e1316c9e2df4610e71a7d2df4c79 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 7 Aug 2021 11:08:20 +0200 Subject: [PATCH] When the world adds a MeshDataResource to the chunk it should not be scaled again. --- world/terra_world.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/terra_world.cpp b/world/terra_world.cpp index a82b764..9b18723 100644 --- a/world/terra_world.cpp +++ b/world/terra_world.cpp @@ -599,7 +599,7 @@ void TerraWorld::prop_add(Transform tarnsform, const Ref &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; }