Login  Register

Undo not changing relative zero position

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Undo not changing relative zero position

jaise
31 posts
Step to reproduce :

1. Start a new drawing
2. Start 2 point line
3. continue drawing 4 lines.
4. Undo last line using ctrl + z.
5. But relative zero not changed.
6. we need to exit from command to set relative position to last line end.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Undo not changing relative zero position

dxli
2026 posts
hi jaise,

the action Edit -> Undo (from the top toolbar area, or Ctr + z) doesn't handle relative zeros.

for action Draw -> Line -> 2 points, you can use command line "undo", which should handle relative zero also. However, this feature seems to be broken currently. I will look into this one.

Thanks a lot for the detailed description.

jaise wrote
Step to reproduce :

1. Start a new drawing
2. Start 2 point line
3. continue drawing 4 lines.
4. Undo last line using ctrl + z.
5. But relative zero not changed.
6. we need to exit from command to set relative position to last line end.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Undo not changing relative zero position

dxli
2026 posts
In reply to this post by jaise
Hi Jaise,

fixed in master and 2.0 branches, and the fix is quite straight forward:

https://github.com/LibreCAD/LibreCAD/commit/00b7b82435d33d8127d5b297c584ec0fa187b02b
jaise wrote
Step to reproduce :

1. Start a new drawing
2. Start 2 point line
3. continue drawing 4 lines.
4. Undo last line using ctrl + z.
5. But relative zero not changed.
6. we need to exit from command to set relative position to last line end.