Page MenuHome

Undo doesn't work after joining two curves
Closed, ArchivedPublic

Description

System Information
Win7/64

Blender Version
blender-2.70-51fa66b-win64

Short description of error
Undo doesn't work after joining two curves

Exact steps for others to reproduce the error
Add two curves and join them. Undo doesn't undo then.

Event Timeline

Willi (willi) raised the priority of this task from to 90.
Willi (willi) updated the task description. (Show Details)
Willi (willi) added a project: BF Blender.
Willi (willi) edited a custom field.
Willi (willi) added a subscriber: Willi (willi).

The undo works for me, but for the second ctrl-z. It seems the first undo does nothing. This happens elsewhere too in Blender. I don't know is it really an "empty" undo, maybe does something not visible. As I know Blender compares the whole scene data with its previous version when creating undo. Is it possible to put a completely empty undo step onto the undo stack?

Willi (willi) added a comment.EditedMay 16 2014, 6:28 PM

Ok, I have to undo twice because "Join" adds two items to the undo stack: 1.Editmode, 2. Join. So I have to first undo Join, then undo Editmode. However, I was never in edit mode. EDIT: Also tested with latest build blender-2.70-be980b9-win64

Editmode is there because the join_curve_exec() function calls ED_object_editmode_enter() and immediately after ED_object_editmode_exit(). It seems the second step of the undo information is created here.

Bastien Montagne (mont29) changed the task status from Unknown Status to Archived.May 18 2014, 9:27 AM
Bastien Montagne (mont29) claimed this task.

Yes, some ops can generate more than one undo steps… Even though this is not top notch, this isn’t really an issue either, and anyway considered a limitation of our current history system, not a bug. Thanks for the report, anyway.