Skip to content

Commit

Permalink
Arch: minor fix in strucutral nodes calculaiton
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Nov 1, 2016
1 parent e75fe0d commit c0ca270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Arch/ArchStructure.py
Expand Up @@ -539,7 +539,7 @@ def onChanged(self,obj,prop):
if obj.Role not in ["Slab"]:
if obj.Tool:
nodes = obj.Tool.Shape
else:
elif extdata[1].Length > 0:
import Part
nodes = Part.Line(nodes.CenterOfMass,nodes.CenterOfMass.add(extdata[1])).toShape()
offset = FreeCAD.Vector()
Expand Down

0 comments on commit c0ca270

Please sign in to comment.