Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit dd7be93

Browse files
committed
oops
1 parent 94d1636 commit dd7be93

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

impeller/geometry/path_builder.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,6 @@ void PathBuilder::AddLinearComponentIfNeeded(const Point& p1, const Point& p2) {
292292
}
293293

294294
void PathBuilder::AddLinearComponent(const Point& p1, const Point& p2) {
295-
if (ScalarNearlyEqual(p1.x, p2.x) && ScalarNearlyEqual(p1.y, p2.y)) {
296-
return;
297-
}
298295
auto& points = prototype_.points;
299296
points.push_back(p1);
300297
points.push_back(p2);

0 commit comments

Comments
 (0)