diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-20 15:37:31 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-20 15:37:31 +0100 |
| commit | ead18458c76ccabf0dc57ea869679b462762e9ef (patch) | |
| tree | 484a143cffb518a5e619562097a20ae31f2ec041 /editor/editor_help.cpp | |
| parent | 9dc2739c1f361225152ccdcb8dc3f4c7578e7429 (diff) | |
| parent | e791f4fce275247a66eb657ff7cc7be4ffd4d5bc (diff) | |
| download | redot-engine-ead18458c76ccabf0dc57ea869679b462762e9ef.tar.gz | |
Merge pull request #68917 from Mickeon/double-the-pride-twice-the-fall
Double precision of `String.split_floats`
Diffstat (limited to 'editor/editor_help.cpp')
| -rw-r--r-- | editor/editor_help.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index 0a443ee645..636e076b1e 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -1363,7 +1363,7 @@ void EditorHelp::_update_doc() { if (constants[i].value.begins_with("Color(") && constants[i].value.ends_with(")")) { String stripped = constants[i].value.replace(" ", "").replace("Color(", "").replace(")", ""); - Vector<float> color = stripped.split_floats(","); + PackedFloat64Array color = stripped.split_floats(","); if (color.size() >= 3) { class_desc->push_color(Color(color[0], color[1], color[2])); _add_bulletpoint(); |
