Merge pull request #95548 from TokageItLab/fix-warn-skeleton-modifier

Fix incorrect warning on SkeletonModifier
This commit is contained in:
Rémi Verschelde 2024-08-16 10:36:45 +02:00
commit a6c350718a
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -37,7 +37,7 @@ void SkeletonModifier3D::_validate_property(PropertyInfo &p_property) const {
PackedStringArray SkeletonModifier3D::get_configuration_warnings() const {
PackedStringArray warnings = Node3D::get_configuration_warnings();
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;
}