- Anonymous
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
Neinei0k | abdullahtahiriyo | master | 2020-10-16 05:57:32 | master 896a1bcb |
Changeset | Sketcher: Merged constraint selection fix. When the sketch is not in XY plane, individual constraints from the merged constraint icon can't be selected. Constraint icon coordinates are given in sketcher coordinates. The function getCoordsOnSketchPlane projects vector in global coordinates to the sketch plane. So, it makes no sense to use sketcher coordinates with it. If the sketch is in the XY plane, then the global coordinates are the same as sketcher coordinates. The solution is to get global coordinates of the icon from the sketcher coordinates and use it to project icon to the screen. |
|||
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | Diff File |