Skip to content

Commit

Permalink
Merge pull request #1911 from Autodesk/t_gamaj/MAYA-114334/fix_enable…
Browse files Browse the repository at this point in the history
…r_callback

MAYA-114334 - Use USD syntax for Python callbacks
  • Loading branch information
seando-adsk authored Dec 16, 2021
2 parents c3d8c32 + 9c1dd91 commit 26c962b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mayaUsd/python/wrapJobContextRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ class JobContextRegistry
private:
static VtDictionary callEnablerFn(boost::python::object fnc)
{
auto res = std::function<boost::python::object()>(TfPyCall<boost::python::object>(fnc))();
return boost::python::extract<VtDictionary>(res);
auto res = TfPyCall<VtDictionary>(fnc)();
return res;
}
};

Expand Down

0 comments on commit 26c962b

Please sign in to comment.