mirror of https://github.com/godotengine/godot
Fix incorrect warning on SkeletonModifier
(cherry picked from commit 4727c4f783)
This commit is contained in:
parent
e1af61467a
commit
5caaa6ce19
|
|
@ -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