Skip to content

Commit

Permalink
Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Feb 13, 2014
2 parents 989b6a0 + e374ba9 commit 37f283e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Arch/ArchWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from FreeCAD import Vector
if FreeCAD.GuiUp:
import FreeCADGui
from PySide import QtCore, QtGui
from PySide import QtCore, QtGui, QtSvg
from DraftTools import translate
else:
def translate(ctxt,txt):
Expand Down
3 changes: 3 additions & 0 deletions src/Mod/Draft/DraftTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ def getSupport(args=None):
self.display(plane.axis)
except:
pass
if obj.isDerivedFrom("Part::Part2DObject"):
# make sure we don't set another Draft object as support
return None
return obj

def hasMod(args,mod):
Expand Down

0 comments on commit 37f283e

Please sign in to comment.