Blender Git Commit Log

Git Commits -> Revision 9dfc81c

Revision 9dfc81c by Campbell Barton (master)
March 11, 2021, 16:21 (GMT)
Fix regression in 2cc5af9c553cfc00b7d4616445ad954597a92d94

The check for undo-depth increment/decrement assumed a newly loaded
window manager would have a different pointer.

This broke bl_animation_fcurves test indirectly,
the change to undo-depth caused the redo panel to attempt to popup
in background mode - which isn't supported.

Now the pointer is unchanged, the undo-depth is assumed to match
the value used when calling the operator.

The undo-depth is now properly maintained between file loads,
which is an improvement on the original behavior which reset it.

Commit Details:

Full Hash: 9dfc81ccf10153385e8ff744ab2a9e2a25ce6606
Parent Commit: 350ad4b
Lines Changed: +4, -0

1 Modified Path:

/source/blender/windowmanager/intern/wm_files.c (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021