diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-11-05 09:05:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-05 09:05:03 +0100 |
commit | fcd761e88985fb243717c159bce7fa40497a8924 (patch) | |
tree | 927b9c1b1db4739ae17c30b810dcae357081f8d6 /scene/2d | |
parent | 935537c53191e7430a77949eab6b1e50841c19bd (diff) | |
parent | 71df4caf8fe4e834c2f175e060b3a896d4d5b70e (diff) |
Merge pull request #23519 from Rubonnek/remove-unnecessary-assignments
Removed unnecessary assignments
Diffstat (limited to 'scene/2d')
-rw-r--r-- | scene/2d/line_builder.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/2d/line_builder.cpp b/scene/2d/line_builder.cpp index a3f1b25e05..d5e8a33805 100644 --- a/scene/2d/line_builder.cpp +++ b/scene/2d/line_builder.cpp @@ -294,7 +294,6 @@ void LineBuilder::build() { if (texture_mode == Line2D::LINE_TEXTURE_TILE) { uvx1 = current_distance1 / (width * tile_aspect); } else if (texture_mode == Line2D::LINE_TEXTURE_STRETCH) { - uvx0 = current_distance0 / total_distance; uvx1 = current_distance1 / total_distance; } |