summaryrefslogtreecommitdiff
path: root/scene/resources/gradient.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/gradient.h')
-rw-r--r--scene/resources/gradient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/gradient.h b/scene/resources/gradient.h
index c2085b3a13..a3d3449099 100644
--- a/scene/resources/gradient.h
+++ b/scene/resources/gradient.h
@@ -73,7 +73,7 @@ public:
void add_point(float p_offset, const Color &p_color);
void remove_point(int p_index);
- void set_points(Vector<Point> &p_points);
+ void set_points(const Vector<Point> &p_points);
Vector<Point> &get_points();
void reverse();