Fixed shadowed variables crashes/warnings occurring in Godot 3.2.2-rc1

This commit is contained in:
OverloadedOrama 2020-06-13 15:25:12 +03:00
parent e6aea97f1b
commit 8064d7b459
5 changed files with 15 additions and 15 deletions

View file

@ -429,8 +429,8 @@ func animation_tags_changed(value : Array) -> void:
tag_c.rect_position.x = (tag.from - 1) * 39 + tag.from
var size : int = tag.to - tag.from
tag_c.rect_min_size.x = (size + 1) * 39
var tag_size : int = tag.to - tag.from
tag_c.rect_min_size.x = (tag_size + 1) * 39
tag_c.get_node("Line2D").points[2] = Vector2(tag_c.rect_min_size.x, 0)
tag_c.get_node("Line2D").points[3] = Vector2(tag_c.rect_min_size.x, 32)