Blender Git Loki
Git Commits -> Revision 812ea91
Revision 812ea91 by Julian Eisel (master) December 14, 2020, 11:16 (GMT) |
UI/Assets: Operator to load custom preview images for data-blocks No automatic preview generation will ever be good enough to cover all cases well. So custom preview images are a must for a preview driven data-block selection - like for asset browsing. The operator simply allows selecting an image file, which will then be read and copied into the data-blocks preview (resized if necessary). There's no UI for this currently and the operator won't be available in the search menu yet. It will later once the Asset Browser UI is merged. Reviewed as part of https://developer.blender.org/D9719. Reviewed by: Bastien Montagne, Brecht Van Lommel |
Commit Details:
Full Hash: 812ea9184221a8ca5785528bebc3ef342a8ecfb4
Parent Commit: 6f7ced7
Lines Changed: +132, -27
6 Modified Paths:
/source/blender/blenkernel/BKE_icons.h (+5, -1) (Diff)
/source/blender/blenkernel/intern/icons.c (+52, -25) (Diff)
/source/blender/editors/include/ED_util.h (+1, -0) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -0) (Diff)
/source/blender/editors/util/ed_util.c (+72, -0) (Diff)
/source/blender/blenkernel/intern/icons.c (+52, -25) (Diff)
/source/blender/editors/include/ED_util.h (+1, -0) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -0) (Diff)
/source/blender/editors/util/ed_util.c (+72, -0) (Diff)