You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
This commit is contained in:
@@ -51,9 +51,9 @@ void Line2DEditor::_set_polygon(int p_idx, const Variant &p_polygon) const {
|
||||
}
|
||||
|
||||
void Line2DEditor::_action_set_polygon(int p_idx, const Variant &p_previous, const Variant &p_polygon) {
|
||||
Node2D *node = _get_node();
|
||||
undo_redo->add_do_method(node, "set_points", p_polygon);
|
||||
undo_redo->add_undo_method(node, "set_points", p_previous);
|
||||
Node2D *_node = _get_node();
|
||||
undo_redo->add_do_method(_node, "set_points", p_polygon);
|
||||
undo_redo->add_undo_method(_node, "set_points", p_previous);
|
||||
}
|
||||
|
||||
Line2DEditor::Line2DEditor() {}
|
||||
|
||||
Reference in New Issue
Block a user