Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strong Undo/Redo
#1
Hey guys,

is there a comprehensive explanation of those 2 commands anywhere? Are they even still relevant?

Google didn't help me much, neither did the docs page. All I could find was a pretty vague "You can now undo/redo multiple steps at once, useful when experimenting", in some rather old Google results.
Reply
#2
Yes, they are. From the source code:

For undo:
Code:
/*
 * this function continues to undo as long as it only sees certain
 * undo types, in particular visibility changes.
 */

For redo:
Code:
/*
 * this function continues to redo as long as it only sees certain
 * undo types, in particular visibility changes.  Note that the
 * order of events is set up to make it exactly reverse
 * gimp_image_strong_undo().
 */


So it is mostly about skipping visibility changes in the undo stack.
Reply
#3
Oh nice! Thank you @ofnuts!
Reply


Forum Jump: