You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +00:00
Remove extraneous line breaks from text resources
Fixes #23539
(cherry picked from commit 9bbda4db2f)
This commit is contained in:
committed by
Rémi Verschelde
parent
08b685ab61
commit
0c3c4d61f7
@@ -1645,7 +1645,8 @@ Error ResourceFormatSaverTextInstance::save(const String &p_path, const RES &p_r
|
||||
}
|
||||
}
|
||||
|
||||
f->store_string("\n");
|
||||
if (E->next())
|
||||
f->store_line(String());
|
||||
}
|
||||
|
||||
if (packed_scene.is_valid()) {
|
||||
@@ -1714,6 +1715,7 @@ Error ResourceFormatSaverTextInstance::save(const String &p_path, const RES &p_r
|
||||
f->store_string(_valprop(String(state->get_node_property_name(i, j))) + " = " + vars + "\n");
|
||||
}
|
||||
|
||||
if (i < state->get_node_count() - 1)
|
||||
f->store_line(String());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user