Fixed bug failing to generate new unique names for objects.

This commit is contained in:
Juan Pablo Caram
2014-10-30 11:59:58 -04:00
parent 77eff45d1d
commit 84bd8d14c6
6 changed files with 46 additions and 18 deletions

View File

@@ -491,6 +491,13 @@ class FlatCAMDraw:
self.plot_all()
def edit_fcgeometry(self, fcgeometry):
"""
Imports the geometry from the given FlatCAM Geometry object
into the editor.
:param fcgeometry: FlatCAMGeometry
:return: None
"""
try:
_ = iter(fcgeometry.solid_geometry)
geometry = fcgeometry.solid_geometry