Fix incorrect warning on SkeletonModifier

This commit is contained in:
Silc Lizard (Tokage) Renew 2024-08-15 16:53:18 +09:00
parent 33c30b9e63
commit 4727c4f783
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ void SkeletonModifier3D::_validate_property(PropertyInfo &p_property) const {
PackedStringArray SkeletonModifier3D::get_configuration_warnings() const { PackedStringArray SkeletonModifier3D::get_configuration_warnings() const {
PackedStringArray warnings = Node3D::get_configuration_warnings(); PackedStringArray warnings = Node3D::get_configuration_warnings();
if (skeleton_id.is_null()) { if (skeleton_id.is_null()) {
warnings.push_back(RTR("Skeleton3D node not set! SkeletonModifier3D must be child of Skeleton3D or set a path to an external skeleton.")); warnings.push_back(RTR("Skeleton3D node not set! SkeletonModifier3D must be child of Skeleton3D."));
} }
return warnings; return warnings;
} }