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