summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/gradient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/gradient.cpp b/scene/resources/gradient.cpp
index 0209bf9aec..eafc4bec7d 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);
}