From 29cb9a2290a419a86d8e565ca5897fb7a24538fe Mon Sep 17 00:00:00 2001 From: Ivan Vlasov Date: Thu, 2 Feb 2023 14:09:18 -0500 Subject: [PATCH] Fixing python2-specific errors --- lib/mayaUsd/python/wrapUtil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/mayaUsd/python/wrapUtil.cpp b/lib/mayaUsd/python/wrapUtil.cpp index 7d4e807ac7..bc5a284b3f 100644 --- a/lib/mayaUsd/python/wrapUtil.cpp +++ b/lib/mayaUsd/python/wrapUtil.cpp @@ -55,5 +55,6 @@ void wrapUtil() .def("getDictionaryFromEncodedOptions", getDictionaryFromEncodedOptions) .def( "getPathRelativeToMayaSceneFile", - UsdMayaUtilFileSystem::getPathRelativeToMayaSceneFile); + UsdMayaUtilFileSystem::getPathRelativeToMayaSceneFile) + .staticmethod("getPathRelativeToMayaSceneFile"); }