mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove default skeleton path in MeshInstance3D
This commit is contained in:
parent
08705259f2
commit
d27fb9b15a
6 changed files with 21 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue