-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EMSUSD-101 Override primWriter #3189
EMSUSD-101 Override primWriter #3189
Conversation
3a6abe8
to
fa18274
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as with the Reader PR. I'm not familiar with this code so I'll let the other code reviewers provided the feedback.
a43f3e8
int _index; | ||
}; | ||
|
||
// typedef std::map<std::string, UsdMayaPrimWriterRegistry::WriterFactoryFn> _Registry; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this typedef in comment was left-over and probably should be removed.
{ | ||
TfRegistryManager::GetInstance().SubscribeTo<UsdMayaPrimWriterRegistry>(); | ||
|
||
// unfortunately, usdTypeName is diff from the tfTypeName which we use to | ||
// register. do the conversion here. | ||
WriterFactoryFn ret = nullptr; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDK what that erased comment about usdTypeName vs tfTypeName was about... I guess it is now irrelevant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few questions and suggestions, otherwise looks great.
CanExport
function to primWriter for overriding default primWriterPoke
function for cases when only wants to check for plugin register but not really find a primWriter