I’ve been getting back into Blender 3D from a pretty long hiatus and upon my return, I’m linking all my models into Blender’s included Asset Browser.
Upon linking a few of my models in, I noticed on the preview some of them are being previewed with a texture added and some are not. Since all my models have textures on them, I was wondering how I can make the preview display the textures.
Update: for anyone struggling with this, you have to just change Viewport Display to Textured from the Object Properties shelf.
I wrote a simple python script to automatize this for all visible objects in the file:
import bpy
for obj in bpy.context.visible_objects:
obj.display_type = ‘TEXTURED’
bpy.ops.wm.save_as_mainfile(filepath=bpy.context.blend_data.filepath)
and I also wrote an Autohotkey script to run this script for all blend files in a given directory (and all of its subfolders). You can download it from here (requires Windows and Autohotkey v1 installed):