1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Update Node::get_configuration_warnings signature

This commit is contained in:
RedMser
2023-07-05 15:41:44 +02:00
parent bf37a9bac6
commit d3852deaa4
132 changed files with 217 additions and 213 deletions

View File

@@ -74,9 +74,9 @@ bool MissingNode::is_recording_properties() const {
return recording_properties;
}
PackedStringArray MissingNode::get_configuration_warnings() const {
Array MissingNode::get_configuration_warnings() const {
// The mere existence of this node is warning.
PackedStringArray ret;
Array ret;
ret.push_back(vformat(RTR("This node was saved as class type '%s', which was no longer available when this scene was loaded."), original_class));
ret.push_back(RTR("Data from the original node is kept as a placeholder until this type of node is available again. It can hence be safely re-saved without risk of data loss."));
return ret;