diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-09-15 14:33:56 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-09-15 14:33:56 +0300 |
commit | 49dbf1324dccd014f4f65da26e29402ec299ba72 (patch) | |
tree | 2610ae0c2128c2331db07552afa965d0309dde22 /release/scripts/startup/bl_ui/space_image.py | |
parent | da95d1d851b41e3599310d88e6d03fe23cee455e (diff) |
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
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 4 |
1 files changed, 3 insertions, 1 deletions
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: |