OP-2151 - replaced PATH usage with oiio path for maketx utility

This commit is contained in:
Petr Kalis 2021-12-14 13:28:00 +01:00
parent 3b9db7d43f
commit f1ab759a61

View file

@ -55,8 +55,11 @@ def maketx(source, destination, *args):
str: Output of `maketx` command.
"""
from openpype.lib import get_oiio_tools_path
maketx_path = get_oiio_tools_path("maketx")
cmd = [
"maketx",
maketx_path,
"-v", # verbose
"-u", # update mode
# unpremultiply before conversion (recommended when alpha present)