From bb20f230ad307a2a5f18c03bece3793d29ae208a Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 28 May 2017 21:46:48 -0300 Subject: -Added .hdr format support -Added default environment editor setting -Added environment created by default in new projects -Removed default light and ambient from spatial editor, to make the editor more PBR compliant --- scene/2d/line_2d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scene/2d/line_2d.cpp') diff --git a/scene/2d/line_2d.cpp b/scene/2d/line_2d.cpp index c782968ea0..80969d11b3 100644 --- a/scene/2d/line_2d.cpp +++ b/scene/2d/line_2d.cpp @@ -99,7 +99,7 @@ Color Line2D::get_default_color() const { return _default_color; } -void Line2D::set_gradient(const Ref &gradient) { +void Line2D::set_gradient(const Ref &gradient) { // Cleanup previous connection if any if (_gradient.is_valid()) { @@ -116,7 +116,7 @@ void Line2D::set_gradient(const Ref &gradient) { update(); } -Ref Line2D::get_gradient() const { +Ref Line2D::get_gradient() const { return _gradient; } -- cgit v1.2.3