mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 10:01:15 +00:00
GradientTexture now uses a Gradient
- Added gradient property - Deleted duplicate code
This commit is contained in:
parent
78468906ab
commit
2bb1638b0a
7 changed files with 36 additions and 842 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue