New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] [WB Draft] Undo doesn't work after using Move function on lines created in Draft WB #8044
Comments
@Roy-043 can you test when you get a chance? (Also there is a rotate bug not sure it's DraftWB related). This may be just a Windows issues, btw |
First of all, I can only confirm this. The issue seems related to the code used in the
See test codes below. The only difference between the two is the position of Test code "undo_problem":
Test code "undo_ok":
|
This is a regression introduced in V0.19. |
Since the issue also occurs if you change the Placement of a Draft_Line in the Property editor, the solution probably must be found in the |
Second thread: https://forum.freecadweb.org/viewtopic.php?f=10&t=74920 |
Here are files that implement the workaround mentioned in the second forum thread: avoid the creation of a new Shape if only the Placement is changed. Instructions:
|
Is there an existing issue for this?
Forums discussion
https://forum.freecadweb.org/viewtopic.php?f=3&t=74424
Version
0.21 (Development)
Full version info
Subproject(s) affected?
Draft
Issue description
Create a line in Draft WB. Use the Move function in Draft WB to move the line and then press undo (ctrl Z), the line doesn't move back to it's original position. However, other objects not created in Draft WB do move back to their original positions such as primitives created in Part WB when the undo function is used. It seems to be lines, splines etc. created in Draft WB that aren't working properly.
This seems to be potentially just a windows problem. Another user, DrMarco, reported correct behaviour from a Linux installation of Freecad.
The problem occurs on the latest development version of Freecad 0.21.31109 and the stable version(0.20.1)
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: