1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Bugfixes and ability to better specify filter and repeat modes everywhere.

Removes antialiased flag for draw_* methods.
This commit is contained in:
Juan Linietsky
2019-06-24 22:24:07 -03:00
parent 1b4281b895
commit e1b3444415
40 changed files with 512 additions and 240 deletions

View File

@@ -524,14 +524,14 @@ void AnimationNodeStateMachineEditor::_connection_draw(const Vector2 &p_from, co
};
if (p_selected) {
state_machine_draw->draw_line(p_from, p_to, accent, 6, true);
state_machine_draw->draw_line(p_from, p_to, accent, 6);
}
if (p_travel) {
linecolor = accent;
linecolor.set_hsv(1.0, linecolor.get_s(), linecolor.get_v());
}
state_machine_draw->draw_line(p_from, p_to, linecolor, 2, true);
state_machine_draw->draw_line(p_from, p_to, linecolor, 2);
Ref<Texture2D> icon = icons[p_mode + (p_auto_advance ? 3 : 0)];