mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
OP-2151 - replaced PATH usage with oiio path for maketx utility
This commit is contained in:
parent
3b9db7d43f
commit
f1ab759a61
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue