From 49dbf1324dccd014f4f65da26e29402ec299ba72 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Tue, 15 Sep 2020 13:33:56 +0200 Subject: 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 --- release/scripts/startup/bl_ui/space_image.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index e9a2dbb977b..57feeb04eee 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -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: -- cgit v1.2.3