Skip to content

Commit

Permalink
Fix python binding.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamed Sabri committed Jun 5, 2020
1 parent d891b7e commit a520d00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/mayaUsd/python/wrapMeshWriteUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ _GetMeshNormals(const std::string& meshDagPath)
}

// Dummy class for putting UsdMayaMeshWriteUtils namespace functions in a Python
// MeshUtil namespace.
// MeshWriteUtils namespace.
class DummyScopeClass{};

} // anonymous namespace


void wrapMeshWriteUtils()
{
scope s = class_<DummyScopeClass>("MeshUtil", no_init)
scope s = class_<DummyScopeClass>("MeshWriteUtils", no_init)

.def("GetMeshNormals", &_GetMeshNormals)
.staticmethod("GetMeshNormals")
Expand Down
2 changes: 1 addition & 1 deletion plugin/pxr/maya/lib/usdMaya/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
from mayaUsd.lib import DiagnosticBatchContext
from mayaUsd.lib import DiagnosticDelegate
from mayaUsd.lib import GetPrim
from mayaUsd.lib import MeshUtil
from mayaUsd.lib import MeshWriteUtils
from mayaUsd.lib import ReadUtil
from mayaUsd.lib import ReloadStage
from mayaUsd.lib import RoundTripUtil
Expand Down

0 comments on commit a520d00

Please sign in to comment.