Skip to content

Commit

Permalink
[Draft] Draft Edit - various fixes (fixes #3537)
Browse files Browse the repository at this point in the history
https://forum.freecadweb.org/viewtopic.php?f=3&t=29743&start=70
To solve issue with Hidpi display  (fixes #3537), but also to improve node selection, I used some of @looo code from pivy graphics into the tool. 
So:
- i got rid of the action function
- i separated selection and editing callbacks
- i got the mouse position from the callback event and not from FreeCADGui.ActiveDocument.ActiveView.getCursorPos()
- i rewrote the node selection mechanism using soraypickaction instead of getObjectInfo() and getObjectsInfo()
- i tried to put a bit of order in all the mess i made and try to document it.
- also fixed some of the preview code.
- i'm really really sorry for not being able to split the commit in multiple one, but the changes are huge and i was just able to separate minor things...
  • Loading branch information
carlopav authored and yorikvanhavre committed Aug 20, 2019
1 parent 12dc2e9 commit 13e6059
Showing 1 changed file with 356 additions and 272 deletions.

0 comments on commit 13e6059

Please sign in to comment.