summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-26 08:44:27 +0100
committerGitHub <noreply@github.com>2020-10-26 08:44:27 +0100
commit8ee44cc60ccedf8286b191218a2d25aa764ac413 (patch)
tree77f0eee56db6a6af344965558aaa23390027bf6e /scene/2d
parentee770b02fc9d7bf51c5092f39439f3dd0f20ab16 (diff)
parent8ce2f401ddce843a433e6a20fdf5c24bb9cc5a6d (diff)
Merge pull request #43075 from Xrayez/color-ramp-to-gradient
Fixup `ColorRamp` to `Gradient` renames
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/line_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/line_2d.cpp b/scene/2d/line_2d.cpp
index b120b115b0..e990e9f53e 100644
--- a/scene/2d/line_2d.cpp
+++ b/scene/2d/line_2d.cpp
@@ -177,7 +177,7 @@ void Line2D::set_gradient(const Ref<Gradient> &p_gradient) {
_gradient = p_gradient;
- // Connect to the gradient so the line will update when the ColorRamp is changed
+ // Connect to the gradient so the line will update when the Gradient is changed
if (_gradient.is_valid()) {
_gradient->connect(CoreStringNames::get_singleton()->changed, callable_mp(this, &Line2D::_gradient_changed));
}