1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Remove default skeleton path in MeshInstance3D

This commit is contained in:
kobewi
2025-10-31 23:56:25 +01:00
parent 08705259f2
commit d27fb9b15a
6 changed files with 21 additions and 2 deletions

View File

@@ -926,6 +926,11 @@ void MeshInstance3D::_bind_methods() {
MeshInstance3D::MeshInstance3D() {
_define_ancestry(AncestralClass::MESH_INSTANCE_3D);
#ifndef DISABLE_DEPRECATED
if (use_parent_skeleton_compat) {
skeleton_path = NodePath("..");
}
#endif
}
MeshInstance3D::~MeshInstance3D() {