mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #3278 from pypeclub/bugfix/oiio_path_on_linux
General: Fix Oiio tool path resolving
This commit is contained in:
commit
c79f29a4ed
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