summaryrefslogtreecommitdiff
path: root/scene/2d/line_builder.cpp
diff options
context:
space:
mode:
authorWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2018-11-04 22:19:30 -0500
committerWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2018-11-04 22:19:30 -0500
commit71df4caf8fe4e834c2f175e060b3a896d4d5b70e (patch)
tree1011f1c403018b412e98f07963e682c1d999bbd6 /scene/2d/line_builder.cpp
parent121cead38e5ea84ec22139df02eee56d822290b7 (diff)
Removed unnecessary assignments
Diffstat (limited to 'scene/2d/line_builder.cpp')
-rw-r--r--scene/2d/line_builder.cpp1
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;
}