Arch: Fixed OBJ exporter to work with curves - fixes #1527
This commit is contained in:
@@ -342,7 +342,6 @@ def removeHidden(objectslist):
|
||||
for o in objectslist:
|
||||
if o.ViewObject:
|
||||
if not o.ViewObject.isVisible():
|
||||
|
||||
newlist.remove(o)
|
||||
return newlist
|
||||
|
||||
|
||||
@@ -1032,7 +1032,7 @@ class Snapper:
|
||||
FreeCADGui.Snapper.off()
|
||||
self.ui.offUi()
|
||||
if callback:
|
||||
if len(inspect.getargspec(callback).args) > 2:
|
||||
if len(inspect.getargspec(callback).args) > 1:
|
||||
callback(self.pt,obj)
|
||||
else:
|
||||
callback(self.pt)
|
||||
|
||||
Reference in New Issue
Block a user