diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index 73a5049916f..d383e54f05f 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -4621,21 +4621,24 @@ SectionedPropertyEditor::~SectionedPropertyEditor() { double PropertyValueEvaluator::eval(const String &p_text) { + // If range value contains a comma replace it with dot (issue #6028) + const String &p_new_text = p_text.replace(",", "."); + if (!obj || !script_language) - return _default_eval(p_text); + return _default_eval(p_new_text); Ref