You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
GradientTexture now uses a Gradient
- Added gradient property - Deleted duplicate code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user