Arch: Fixed OBJ exporter to work with curves - fixes #1527

This commit is contained in:
Yorik van Havre
2014-05-04 13:04:52 -03:00
parent cb720fae50
commit 5c01cf0a89
3 changed files with 42 additions and 28 deletions

View File

@@ -342,7 +342,6 @@ def removeHidden(objectslist):
for o in objectslist:
if o.ViewObject:
if not o.ViewObject.isVisible():
newlist.remove(o)
return newlist

View File

@@ -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)