Skip to content

Commit

Permalink
Merge pull request #4891 from Roy-043/Draft_Fix_Misplaced_Edit_Nodes_…
Browse files Browse the repository at this point in the history
…BezCurve_2

Draft: Fix misplaced Draft_Edit nodes for BezCurve 2nd version
  • Loading branch information
yorikvanhavre committed Sep 2, 2021
2 parents ab11968 + d72f90d commit 854fc52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Mod/Draft/draftguitools/gui_edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ def resetTrackersBezier(self, obj):
pointswithmarkers.append((poles[-1],knotmarkers[knotmarkeri]))
for index, pwm in enumerate(pointswithmarkers):
p, marker = pwm
p = obj.Placement.inverse().multVec(p)
p = obj.getGlobalPlacement().multVec(p)
self.trackers[obj.Name].append(trackers.editTracker(p, obj.Name,
index, obj.ViewObject.LineColor, marker=marker))
Expand Down

0 comments on commit 854fc52

Please sign in to comment.