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 01:37:12 +03:00
committed by wmayer
parent 75d6672159
commit 80ddf5cf39

View File

@@ -763,6 +763,7 @@ class depth_params:
self.index = 0
def __iter__(self):
self.index = 0
return self
def __next__(self):