Reset depth_params index when starting a new iterator.

Otherwise when a profile consists of multiple cuts (example: profile outline+circles+holes) only the first one
will respect the requested depths.
This commit is contained in:
Itai Nahshon
2017-07-05 15:04:39 +02:00
committed by wmayer
parent 9592eff3dc
commit dca6533609
+1
View File
@@ -763,6 +763,7 @@ class depth_params:
self.index = 0
def __iter__(self):
self.index = 0
return self
def __next__(self):