summaryrefslogtreecommitdiff
path: root/editor/plugins/gradient_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-06-24 18:13:56 -0300
committerGitHub <noreply@github.com>2017-06-24 18:13:56 -0300
commit898d8fd55735354783d131bc55c5f822ddabf60c (patch)
treedc9065dc1d9c251ae64d63b0a237d949e79b5393 /editor/plugins/gradient_editor_plugin.cpp
parent68891baa1b091ed0e7a40df2f097e757dc4884a8 (diff)
parent2bb1638b0a34f4f298e2db18354ea3aec3d63f61 (diff)
Merge pull request #9353 from Zylann/gradient_refactor
GradientTexture now uses a Gradient
Diffstat (limited to 'editor/plugins/gradient_editor_plugin.cpp')
-rw-r--r--editor/plugins/gradient_editor_plugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/plugins/gradient_editor_plugin.cpp b/editor/plugins/gradient_editor_plugin.cpp
index 9884db934b..4aaa155cfd 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<float> &offsets,
- const Vector<Color> &colors) {
+void GradientEditorPlugin::_undo_redo_gradient(const Vector<float> &offsets, const Vector<Color> &colors) {
gradient_ref->set_offsets(offsets);
gradient_ref->set_colors(colors);