samytichadou / Auto_Reload_Blender_addon

Handy automatic reload for Image Textures
429 stars 25 forks source link

UDIM images aren't reloaded in Blender 3.3.0 #22

Closed Ogyly closed 2 weeks ago

Ogyly commented 2 years ago

I tried to reload images using Auto Reload. Single Image file is reloaded but UDIM images aren't reloaded in Blender 3.3.0. Why?

this simple script can reload UDIM images, so your python doesn't read UDIM images?

import bpy

for image in bpy.data.images:
    image.reload()
samytichadou commented 2 years ago

thanks for the feedback, I'll take a look when I got a moment !

mohumohu-corp commented 1 year ago

Hello. The cause of this problem is that it is failing to get the file path, which for a UDIM image is formatted as, for example, "prefix<UDIM>.png". To get the file path for the tiles, you need to get the tile.label from the image.tiles collection property and compose the actual path using regular expression.

Kapoff commented 1 year ago

This is still a thing in 3.5 unfortunately.

samytichadou commented 2 weeks ago

new version supports udim and image sequences