Gmoccapy - update toolinfo after Apply#3474
Conversation
|
Looking at the changes makes me think that this does actually two things after clicking on the 'Apply' button.
I think it would be nice if your commit message
Remember that these commit messages are stored in the git tree and provide information to future developers. |
Update only tool diameter and toolname not offset Z (+X for lathe) linuxcnc/src/emc/usr_intf/gmoccapy/gmoccapy.py Lines 3618 to 3641 in 7058694
G43 update offset Z. If G43 is not active, I don't activate it unnecessarily. What are you asking, or what should I do?
"Prvni pokus" means "First test". It is a bug. Theoretically, "git commit --amend" should work. Is there any way to fix it now? |
|
Have you tried to force push the amended commit to your github repo? |
Thank you for help, but I dont understand main phylosophy of git. I think, that git is program without "Undo", every change can be made by another commit, but Pull Request with several commits are problem for developers LCNC. I can make Pull Request, but another changes are problem for me. |
If I remember correctly you once had a pull request with a lot of commits just fixing errors in earlier commits. That is a problem. |
|
You can also 'squash' several commits into a single one: |
|
Hello Sigma1912, thank you for:
What should I do if I have a bug in my Pull Request?
|
If you have only one commit than the easiest way is to amend ( If you have multiple commits, you can do an interactive rebase and change the regarding commit. Sure, you can also add a commit on top that fixes it, but I wouldn't recommend that in a PR. |
|
I have reworked the comments in gmoccapy.py.
|
4552c79 to
0bc5ab5
Compare
|
Similar functionality is in #3706 |
Reported here: https://forum.linuxcnc.org/gmoccapy/56079-change-tool-offsets-after-editing-the-tool-table?start=0
Toolinfo is updated after click on Apply button in tooltable page.
