Fix PointSequence.__init__() when passed no points
This commit is contained in:
parent
559c1caa7b
commit
8cdf97164c
1 changed files with 7 additions and 6 deletions
|
@ -27,6 +27,7 @@ class PointSequence(list):
|
||||||
|
|
||||||
self.poly = None
|
self.poly = None
|
||||||
|
|
||||||
|
if points is not None:
|
||||||
for point in points:
|
for point in points:
|
||||||
typeof = type(point)
|
typeof = type(point)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue