Another, worse trouble with undo/redo:
- copy a path
- select a path
- via the dialog, apply path-on-path
- paste the copied pattern path
- undo - pattern disappears (correct)
- undo - effect is not removed! (incorrect)
- undo - now effect is removed
- redo - crash!
(inkscape:25029): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `SPObject'
** ERROR **: file sp-object.cpp: line 1049 (void sp_object_read_attr(SPObject*, const gchar*)): assertion failed: (SP_IS_OBJECT(object)) aborting...
Johan, please read the email I sent recently to you and Max with the notes on undo system and review all your code for undo-correctness. Basically, when a repr changes, you must sense that and rebuild everything else from the repr - then undo/redo will work fine. Ask me if you have any questions.