mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
hound fix
This commit is contained in:
parent
ffb4b64137
commit
8bbe10e18d
1 changed files with 2 additions and 2 deletions
|
|
@ -3579,7 +3579,7 @@ def image_info(file_path):
|
|||
from arnold import (
|
||||
AiTextureGetBitDepth,
|
||||
AiTextureGetFormat
|
||||
)
|
||||
)
|
||||
# Get Texture Information
|
||||
img_info = {'filename': file_path}
|
||||
if os.path.isfile(file_path):
|
||||
|
|
@ -3608,7 +3608,7 @@ def guess_colorspace(img_info):
|
|||
AI_TYPE_BYTE,
|
||||
AI_TYPE_INT,
|
||||
AI_TYPE_UINT
|
||||
)
|
||||
)
|
||||
try:
|
||||
if img_info['bit_depth'] <= 16:
|
||||
if img_info['format'] in (AI_TYPE_BYTE, AI_TYPE_INT, AI_TYPE_UINT): # noqa
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue