Fix incorrect warning on SkeletonModifier
This commit is contained in:
parent
33c30b9e63
commit
4727c4f783
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue