diff --git a/lib/mayaUsd/fileio/shaderWriterRegistry.cpp b/lib/mayaUsd/fileio/shaderWriterRegistry.cpp index 8a1323d828..a54748408d 100644 --- a/lib/mayaUsd/fileio/shaderWriterRegistry.cpp +++ b/lib/mayaUsd/fileio/shaderWriterRegistry.cpp @@ -20,6 +20,9 @@ #include #include +#include +#include + #include #include #include @@ -136,6 +139,12 @@ UsdMayaShaderWriterRegistry::WriterFactoryFn UsdMayaShaderWriterRegistry::Find( return it->second._writer; } + UsdMayaSymmetricShaderWriter::RegisterWriter(mayaTypeName, mayaTypeName, TfToken("rendermanForMaya")); + it = _Find(mayaTypeName, exportArgs); + if (it != _reg.end()) { + return it->second._writer; + } + if (_reg.count(mayaTypeName) == 0) { // Nothing registered at all, remember that: _reg.insert(std::make_pair(