WalkView: Fixed a bug in the polyline path constraint.
This commit is contained in:
parent
7a0da8c3af
commit
146530a5d0
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ var makePolylinePath = func (points, width, round_ends = 0) {
|
|||
if (size(points) < 2) return nil;
|
||||
var ret = LinePlane.new(points[0], points[1], width);
|
||||
if (round_ends) {
|
||||
ret = UnionConstraint.new(line,
|
||||
ret = UnionConstraint.new(ret,
|
||||
CircularXYSurface.new(points[0], width/2));
|
||||
}
|
||||
for (var i = 2; i < size(points); i += 1) {
|
||||
|
|
Loading…
Add table
Reference in a new issue