mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Fix skinning by default in MeshInstance even if the mesh is merged.
This commit is contained in:
parent
b287513656
commit
34c3176c39
@ -144,7 +144,7 @@ void MeshInstance::set_mesh(const Ref<Mesh> &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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user