We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b156c83 + 97eae7f commit 7333644Copy full SHA for 7333644
contrib/IECoreUSD/python/IECoreUSD/__init__.py
@@ -32,6 +32,14 @@
32
#
33
##########################################################################
34
35
+# In the ImageEngine env, if _IECoreUSD is imported before these pxr modules,
36
+# we get a weird exception when we later load the pxr modules. We're not
37
+# 100% sure why this is happening, but importing them first isn't
38
+# unreasonable.
39
+__import__( "pxr.Kind" )
40
+__import__( "pxr.Vt" )
41
+__import__( "pxr.Sdf" )
42
+
43
from ._IECoreUSD import *
44
45
__import__( "IECore" ).loadConfig( "CORTEX_STARTUP_PATHS", subdirectory = "IECoreUSD" )
0 commit comments