Fix error when pinning soft body point without attachment
This commit is contained in:
parent
6fea273ed3
commit
a3f07ad858
1 changed files with 0 additions and 3 deletions
|
@ -714,9 +714,6 @@ void SoftBody3D::_update_cache_pin_points_datas() {
|
|||
if (!w[i].spatial_attachment_path.is_empty()) {
|
||||
w[i].spatial_attachment = Object::cast_to<Node3D>(get_node(w[i].spatial_attachment_path));
|
||||
}
|
||||
if (!w[i].spatial_attachment) {
|
||||
ERR_PRINT("Node3D node not defined in the pinned point, this is undefined behavior for SoftBody3D!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue