added Offset method to selection class#740
Conversation
cameronwhite
left a comment
There was a problem hiding this comment.
Thanks for working on this!
I'll need to do some testing of it (and also think about how to expose it in the UI), but the code looks good to me. Just had one minor style suggestion noted in a comment
oops, accidentally skipped it
|
The changes look good, thanks! |
|
Hi, just for carification, i added the unused surface parameter because the "Invert" method of the selection object also has it unused, so i figured i should add it as well. Anyway, i'm glad it works. Do you want me to remove the parameter? |
|
Thanks, yes please remove that parameter (and also may as well do this for the Invert() method too) |
|
There you go. I didnt remove it from invert method as well because that would require to edit every call of it and remove the paramether there as well, and my pc is not available at the moment. |
This PR aims to close my issue (#661).
It doesn't implement any GUI options, but hopefully it makes the job much easier for people that know how to add the buttons.
I have tried my best to respect the project coding practices but i am kinda new to doing pull requests, so i would really like if this was tested first.
To get into technical details, i have chosen the "jtMiter" JoinType as i think it's the most fitting between these options.