mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-04 23:07:32 +00:00
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
This commit is contained in:
@@ -90,8 +90,8 @@ void GradientEditor::_gradient_changed() {
|
||||
}
|
||||
|
||||
editing = true;
|
||||
Vector<Gradient::Point> points = gradient->get_points();
|
||||
set_points(points);
|
||||
Vector<Gradient::Point> grad_points = gradient->get_points();
|
||||
set_points(grad_points);
|
||||
set_interpolation_mode(gradient->get_interpolation_mode());
|
||||
queue_redraw();
|
||||
editing = false;
|
||||
|
||||
Reference in New Issue
Block a user