Blender Git Commit Log

Git Commits -> Revision d55d95b

Revision d55d95b by Campbell Barton (master)
January 26, 2021, 04:16 (GMT)
WM: return success from WM_recover_last_session, minor cleanup

- Return success from WM_recover_last_session
- Avoid setting global variables is already called in WM_file_read.
While it didn't cause any problems, these assignments ran even when
recovering the session failed to load the file.
- Return OPERATOR_CANCELLED when the operator fails.

Returning success is needed to fix T85011.

Commit Details:

Full Hash: d55d95b04da42f120406678fc47deb00081f7285
Parent Commit: be262cf
Lines Changed: +10, -23

2 Modified Paths:

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