- protected a dict in VispyVisuals from issuing errors of keys changed while iterating through it
This commit is contained in:
parent
17a2c0e4c1
commit
59a2414723
|
@ -15,6 +15,7 @@ CHANGELOG for FlatCAM beta
|
|||
- updated the Italian translation
|
||||
- updated the translation files
|
||||
- changed the line endings for Makefile and setup_ubuntu.sh files
|
||||
- protected a dict in VispyVisuals from issuing errors of keys changed while iterating through it
|
||||
|
||||
2.05.2020
|
||||
|
||||
|
|
|
@ -462,7 +462,7 @@ class ShapeCollectionVisual(CompoundVisual):
|
|||
self.update_lock.acquire(True)
|
||||
|
||||
# Merge shapes buffers
|
||||
for data in self.data.values():
|
||||
for data in list(self.data.values()):
|
||||
if data['visible'] and 'line_pts' in data:
|
||||
try:
|
||||
line_pts[data['layer']] += data['line_pts']
|
||||
|
|
Loading…
Reference in New Issue