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, 0 insertions, 2 deletions
diff --git a/scene/resources/gradient.h b/scene/resources/gradient.h
index 573749ea7e..fa654cf31d 100644
--- a/scene/resources/gradient.h
+++ b/scene/resources/gradient.h
@@ -39,7 +39,6 @@ class Gradient : public Resource {
public:
struct Point {
-
float offset;
Color color;
bool operator<(const Point &p_ponit) const {
@@ -77,7 +76,6 @@ public:
Vector<Color> get_colors() const;
_FORCE_INLINE_ Color get_color_at_offset(float p_offset) {
-
if (points.empty())
return Color(0, 0, 0, 1);