From 2bb1638b0a34f4f298e2db18354ea3aec3d63f61 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Sat, 24 Jun 2017 21:28:22 +0200 Subject: GradientTexture now uses a Gradient - Added gradient property - Deleted duplicate code --- editor/plugins/gradient_editor_plugin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'editor/plugins/gradient_editor_plugin.cpp') diff --git a/editor/plugins/gradient_editor_plugin.cpp b/editor/plugins/gradient_editor_plugin.cpp index 9884db934..4aaa155cf 100644 --- a/editor/plugins/gradient_editor_plugin.cpp +++ b/editor/plugins/gradient_editor_plugin.cpp @@ -91,8 +91,7 @@ void GradientEditorPlugin::_ramp_changed() { } } -void GradientEditorPlugin::_undo_redo_gradient(const Vector &offsets, - const Vector &colors) { +void GradientEditorPlugin::_undo_redo_gradient(const Vector &offsets, const Vector &colors) { gradient_ref->set_offsets(offsets); gradient_ref->set_colors(colors); -- cgit v1.3