Skip to content

Commit

Permalink
Merge branch 'develop' into enhancement/878-publisher-allow-context-p…
Browse files Browse the repository at this point in the history
…romise
  • Loading branch information
iLLiCiTiT authored Sep 12, 2024
2 parents 930e10f + fde3a73 commit 5e4d9f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/ayon_core/plugins/publish/extract_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class ExtractReview(pyblish.api.InstancePlugin):
]

# Supported extensions
image_exts = ["exr", "jpg", "jpeg", "png", "dpx", "tga"]
image_exts = ["exr", "jpg", "jpeg", "png", "dpx", "tga", "tiff", "tif"]
video_exts = ["mov", "mp4"]
supported_exts = image_exts + video_exts

Expand Down
4 changes: 2 additions & 2 deletions client/ayon_core/scripts/slates/slate_base/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,11 @@ def recalculate_by_width(self, value, max_width):
line = self.ellide_text
break

for idx, char in enumerate(_word):
for char_index, char in enumerate(_word):
_line = line + char + self.ellide_text
_line_width = font.getsize(_line)[0]
if _line_width > max_width:
if idx == 0:
if char_index == 0:
line = _line
break
line = line + char
Expand Down

0 comments on commit 5e4d9f1

Please sign in to comment.