Image Editor: Deactivate show repeat for UDIM

UDIM textures cannot be repeated, but the option didn't communicate
this. This change makes the Show Repeat option inactive when viewing
Tiled images
This commit is contained in:
Jeroen Bakker 2020-09-15 13:33:56 +02:00
parent da95d1d851
commit 49dbf1324d
1 changed files with 3 additions and 1 deletions

View File

@ -986,7 +986,9 @@ class IMAGE_PT_view_display(Panel):
if ima:
col.prop(ima, "display_aspect", text="Aspect Ratio")
col.prop(sima, "show_repeat", text="Repeat Image")
row = col.row()
row.active = ima.source != 'TILED'
row.prop(sima, "show_repeat", text="Repeat Image")
col.prop(sima, "show_pure_emissive_colors")
if show_uvedit: