Skip to content

Commit

Permalink
BIM: Reapplied FreeCAD#13648
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed May 22, 2024
1 parent 2b61994 commit 3fd1b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/BIM/ArchWall.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def onChanged(self, obj, prop):
if Draft.getType(obj.Base) == "Wire":
#print "modifying p2"
obj.Base.End = p2
elif Draft.getType(obj.Base) == "Sketcher::SketchObject":
elif Draft.getType(obj.Base) in ["Sketcher::SketchObject", "ArchSketch"]:
try:
obj.Base.recompute() # Fix for the 'GeoId index out range' error.
obj.Base.movePoint(0, 2, obj.Base.Placement.inverse().multVec(p2))
Expand Down

0 comments on commit 3fd1b62

Please sign in to comment.