Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/FreeCAD/FreeCAD
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jul 20, 2015
2 parents 36249a6 + fcefdc0 commit de63624
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Arch/ArchComponent.py
Expand Up @@ -240,7 +240,7 @@ def addElement(self):
if it:
mod = None
for a in self.attribs:
if it == getattr(self,"tree"+a):
if it.text(0) == getattr(self,"tree"+a).text(0):
mod = a
for o in FreeCADGui.Selection.getSelection():
addToComponent(self.obj,o,mod)
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Draft/Draft.py
Expand Up @@ -592,7 +592,7 @@ def getMovableChildren(objectslist,recursive=False):
children = obj.OutList
if hasattr(obj,"Proxy"):
if obj.Proxy:
if hasattr(obj.Proxy,"getSiblings"):
if hasattr(obj.Proxy,"getSiblings") and not(getType(obj) in ["Window"]):
children.extend(obj.Proxy.getSiblings(obj))
for child in children:
if hasattr(child,"MoveWithHost"):
Expand Down
3 changes: 2 additions & 1 deletion src/Mod/Draft/importDXF.py
Expand Up @@ -1320,7 +1320,8 @@ def processdxf(document,filename,getShapes=False):
newob.ViewObject.FontSize = draftui.fontsize
else:
st = rawValue(dim,3)
newob.ViewObject.FontSize = float(getdimheight(st))*TEXTSCALING
size = getdimheight(st) or 1
newob.ViewObject.FontSize = float(size)*TEXTSCALING
else:
FreeCAD.Console.PrintMessage("skipping dimensions...\n")

Expand Down
11 changes: 5 additions & 6 deletions src/Tools/SubWCRev.py
Expand Up @@ -156,7 +156,7 @@ def geturl(self):
match = re.match('ssh://\S+?@(\S+)',url)
if match is not None:
url = 'git://%s' % match.group(1)
entryscore=(url=='git://git.code.sf.net/p/free-cad/code',\
entryscore=(url == "git://github.com/FreeCAD/FreeCAD.git",\
'github.com' in url,branch==self.branch,\
branch=='master', '@' not in url)
#used for sorting the list
Expand All @@ -178,8 +178,8 @@ def revisionNumber(self, srcdir,origin=None):
different form the master repository"""
#referencecommit="f119e740c87918b103140b66b2316ae96f136b0e"
#referencerevision=4138
referencecommit="49646282910aeef73db44943b88df06f0957422c"
referencerevision=4244
referencecommit="6b3d7b17a749e03bcbf2cf79bbbb903137298c44"
referencerevision=5235

result = None
countallfh=os.popen("git rev-list --count %s..HEAD" % \
Expand Down Expand Up @@ -251,9 +251,8 @@ def extractInfo(self, srcdir):
remote='origin' #used to determine the url
self.geturl()
origin = None #remote for the blessed master
for fetchurl in ("git.code.sf.net/p/free-cad/code",\
"git@github.com:FreeCAD/FreeCAD_sf_master.git",\
"https://github.com/FreeCAD/FreeCAD_sf_master.git"):
for fetchurl in ("git@github.com:FreeCAD/FreeCAD.git",\
"https://github.com/FreeCAD/FreeCAD.git"):
for key,url in self.remotes.iteritems():
if fetchurl in url:
origin = key
Expand Down

0 comments on commit de63624

Please sign in to comment.