Fix a manual manipulation of List::n. NFC.
This broke encapsulation and thus caused problems for any deeper changes to List.
This commit is contained in:
parent
dd738dd1fc
commit
533ca618eb
@ -36,7 +36,7 @@ void SPolygon::UvTriangulateInto(SMesh *m, SSurface *srf) {
|
||||
SContour merged = {};
|
||||
top->tag = 1;
|
||||
top->CopyInto(&merged);
|
||||
(merged.l.n)--;
|
||||
merged.l.RemoveLast(1);
|
||||
|
||||
// List all of the edges, for testing whether bridges work.
|
||||
SEdgeList el = {};
|
||||
|
Loading…
Reference in New Issue
Block a user