Move get_oiio_tools_path import to top of file

This commit is contained in:
Roy Nieterau 2023-03-27 12:02:44 +02:00
parent 9773cbbedc
commit 7f4fe957bc

View file

@ -17,7 +17,7 @@ from maya import cmds # noqa
import pyblish.api
from openpype.lib.vendor_bin_utils import find_executable
from openpype.lib import source_hash, run_subprocess
from openpype.lib import source_hash, run_subprocess, get_oiio_tools_path
from openpype.pipeline import legacy_io, publish, KnownPublishError
from openpype.hosts.maya.api import lib
from openpype.hosts.maya.api.lib import image_info, guess_colorspace
@ -261,7 +261,6 @@ class MakeTX(TextureProcessor):
TextureResult: The resulting texture information.
"""
from openpype.lib import get_oiio_tools_path
maketx_path = get_oiio_tools_path("maketx")