You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix a few more super calls in get_configuration_warnings methods
A few missed last pass and one incorrect from that pass
This commit is contained in:
@@ -84,17 +84,17 @@ bool MissingNode::is_recording_properties() const {
|
||||
|
||||
PackedStringArray MissingNode::get_configuration_warnings() const {
|
||||
// The mere existence of this node is warning.
|
||||
PackedStringArray ret;
|
||||
PackedStringArray warnings = Node::get_configuration_warnings();
|
||||
if (!original_scene.is_empty()) {
|
||||
ret.push_back(vformat(RTR("This node was an instance of scene '%s', which was no longer available when this scene was loaded."), original_scene));
|
||||
ret.push_back(vformat(RTR("Saving current scene will discard instance and all its properties, including editable children edits (if existing).")));
|
||||
warnings.push_back(vformat(RTR("This node was an instance of scene '%s', which was no longer available when this scene was loaded."), original_scene));
|
||||
warnings.push_back(vformat(RTR("Saving current scene will discard instance and all its properties, including editable children edits (if existing).")));
|
||||
} else if (!original_class.is_empty()) {
|
||||
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."));
|
||||
warnings.push_back(vformat(RTR("This node was saved as class type '%s', which was no longer available when this scene was loaded."), original_class));
|
||||
warnings.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."));
|
||||
} else {
|
||||
ret.push_back(RTR("Unrecognized missing node. Check scene dependency errors for details."));
|
||||
warnings.push_back(RTR("Unrecognized missing node. Check scene dependency errors for details."));
|
||||
}
|
||||
return ret;
|
||||
return warnings;
|
||||
}
|
||||
|
||||
void MissingNode::_bind_methods() {
|
||||
|
||||
Reference in New Issue
Block a user