Sasha Szpakowski 2 years ago
parent
commit
a71cfdcb50
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/modules/graphics/Polyline.cpp

+ 2 - 1
src/modules/graphics/Polyline.cpp

@@ -242,7 +242,8 @@ void BevelJoinPolyline::renderEdge(std::vector<Vector2> &anchors, std::vector<Ve
 		normals.push_back(newSegmentNormal);
 		normals.push_back(-newSegmentNormal);
 		segment = newSegment;
-		newSegmentLength = newSegmentLength;
+		segmentLength = newSegmentLength;
+		segmentNormal = newSegmentNormal;
 		return; // early out
 	}