mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
add subdir 'bin' when oiio path is prepared
This commit is contained in:
parent
9756b1ff66
commit
7afa319b25
1 changed files with 3 additions and 0 deletions
|
|
@ -116,7 +116,10 @@ def get_oiio_tools_path(tool="oiiotool"):
|
|||
tool (string): Tool name (oiiotool, maketx, ...).
|
||||
Default is "oiiotool".
|
||||
"""
|
||||
|
||||
oiio_dir = get_vendor_bin_path("oiio")
|
||||
if platform.system().lower() == "linux":
|
||||
oiio_dir = os.path.join(oiio_dir, "bin")
|
||||
return find_executable(os.path.join(oiio_dir, tool))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue