Skip to content

Commit

Permalink
GafferImage : Fix import order
Browse files Browse the repository at this point in the history
On Windows, we need to import `Gaffer` before `IECoreImage`, because we do the required `add_dll_directory()` in Gaffer, and that needs doing before `IECore` imports `imath`.
  • Loading branch information
johnhaddon committed Mar 28, 2024
1 parent 0a9b600 commit 0f080ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/GafferImage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
#
##########################################################################

__import__( "IECoreImage" )
__import__( "Gaffer" )
__import__( "GafferDispatch" )
__import__( "Gaffer" )
__import__( "IECoreImage" )

from ._GafferImage import *
from .CatalogueSelect import CatalogueSelect
Expand Down

0 comments on commit 0f080ce

Please sign in to comment.