UI: Blend Preview Thumbnails Showing Workspace
This adds an option to use a capture of the entire main window as the blend file preview thumbnail. See D10492 for details and examples. Differential Revision: https://developer.blender.org/D10492 Reviewed by Campbell Barton
This commit is contained in:
@@ -885,6 +885,14 @@ void blo_do_versions_userdef(UserDef *userdef)
|
||||
BKE_addon_ensure(&userdef->addons, "pose_library");
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(300, 21)) {
|
||||
/* Deprecated userdef->flag USER_SAVE_PREVIEWS */
|
||||
userdef->file_preview_type = (userdef->flag & USER_FLAG_UNUSED_5) ? USER_FILE_PREVIEW_CAMERA :
|
||||
USER_FILE_PREVIEW_NONE;
|
||||
/* Clear for reuse. */
|
||||
userdef->flag &= ~USER_FLAG_UNUSED_5;
|
||||
}
|
||||
|
||||
/**
|
||||
* Versioning code until next subversion bump goes here.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user