Blender Git Loki
Git Commits -> Revision 3027ff8
Revision 3027ff8 by Bastien Montagne (master) January 12, 2015, 14:13 (GMT) |
Second try to fix missing previews of mat/tex/etc. in .blend files. This time, it's a dedicated operator user has to run before saving the file. And it recursively check all IDs linked from each scene, therefore rendering materials etc. previews using a scene they are used in. Note the renderengine issue is not completely addressed this way (existing code for icon previews seems to ignore completely other engines, and IDs not linked anywhere (fake-user ones) will be rendered with current scene's engine as fallback, also you can get a material linked to an hidden object in a scene, etc.). Reviewers: sergey, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D980 |
Commit Details:
Full Hash: 3027ff8b13fb29e9249382ef400331783b2e06f6
Parent Commit: 51779d9
Lines Changed: +117, -33
7 Modified Paths:
/release/scripts/startup/bl_ui/space_info.py (+10, -0) (Diff)
/source/blender/editors/include/ED_render.h (+1, -1) (Diff)
/source/blender/editors/include/UI_interface_icons.h (+2, -1) (Diff)
/source/blender/editors/interface/interface_icons.c (+14, -9) (Diff)
/source/blender/editors/render/render_preview.c (+2, -3) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+0, -19) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+88, -0) (Diff)
/source/blender/editors/include/ED_render.h (+1, -1) (Diff)
/source/blender/editors/include/UI_interface_icons.h (+2, -1) (Diff)
/source/blender/editors/interface/interface_icons.c (+14, -9) (Diff)
/source/blender/editors/render/render_preview.c (+2, -3) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+0, -19) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+88, -0) (Diff)