diff --git a/scene/resources/gradient.cpp b/scene/resources/gradient.cpp index 0209bf9aec6..eafc4bec7d0 100644 --- a/scene/resources/gradient.cpp +++ b/scene/resources/gradient.cpp @@ -153,6 +153,7 @@ void Gradient::reverse() { points.write[i].offset = 1.0 - points[i].offset; } + is_sorted = false; _update_sorting(); emit_signal(CoreStringNames::get_singleton()->changed); }