Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2020-09-15 14:33:56 +0300
committerJeroen Bakker <jeroen@blender.org>2020-09-15 14:33:56 +0300
commit49dbf1324dccd014f4f65da26e29402ec299ba72 (patch)
tree2610ae0c2128c2331db07552afa965d0309dde22
parentda95d1d851b41e3599310d88e6d03fe23cee455e (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
-rw-r--r--release/scripts/startup/bl_ui/space_image.py4
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: