From 34c3176c39021d1ea6cd4c4c02bb18392a0fa993 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 20 Mar 2022 14:13:44 +0100 Subject: [PATCH] Fix skinning by default in MeshInstance even if the mesh is merged. --- scene/3d/mesh_instance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/3d/mesh_instance.cpp b/scene/3d/mesh_instance.cpp index 157fc5f53..9d3647d12 100644 --- a/scene/3d/mesh_instance.cpp +++ b/scene/3d/mesh_instance.cpp @@ -144,7 +144,7 @@ void MeshInstance::set_mesh(const Ref &p_mesh) { mesh->connect(CoreStringNames::get_singleton()->changed, this, SceneStringNames::get_singleton()->_mesh_changed); materials.resize(mesh->get_surface_count()); - _initialize_skinning(false, false); + _initialize_skinning(false, true); } else { set_base(RID()); }