Blender Git Commit Log

Git Commits -> Revision b8e592b

July 4, 2020, 13:06 (GMT)
Support object preview thumbnails, generated on asset creation

To generate the preview, a temporary main data-base is created (think of this
as a virtual .blend within the current .blend) with a new scene and the object
to generate the preview for. It's rendered with a camera from the front, using
the "Camera Fit Frame to Selected" logic.
This should be a simple solution requiring no further setup that should work in
most cases. If needed we can have a way to set up the preview differently.

To see it in action:
* In the Outliner context menu for an object run ID Data > Create Asset
* Save the file
* Open a different file (so you can browse into the former)
* Use link/append to navigate into the saved file with the assets. You should
see the preview in thumbnail mode.

Commit Details:

Full Hash: b8e592bd77daf1a142e758e17de626a40605dbc6
Parent Commit: bcb56f0
Lines Changed: +184, -32

5 Modified Paths:

/source/blender/editors/include/ED_view3d.h (+5, -0) (Diff)
/source/blender/editors/interface/interface_icons.c (+1, -6) (Diff)
/source/blender/editors/render/render_preview.c (+140, -1) (Diff)
/source/blender/editors/space_view3d/view3d_utils.c (+35, -0) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+3, -25) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021