eb03c5a2f1
Regression in [0] which incorrectly swapped the check for the
`use_scripts` property being set with the value it was set to.
Resolve this error as well as the "Recover Last" operator
which never worked.
[0]: 8c688a052c
Pack ported from: dbf6902a19b6979f8be7b314fec33db17801ed73
Pull Request: https://projects.blender.org/blender/blender/pulls/137464