We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bcefeb0 + 27c7c0d commit 50a1336Copy full SHA for 50a1336
lib/mayaUsd/render/mayaToHydra/renderOverride.cpp
@@ -599,7 +599,7 @@ MStatus MtohRenderOverride::Render(const MHWRender::MDrawContext& drawContext)
599
if (status == MStatus::kSuccess) {
600
#ifdef MAYA_CURRENT_UFE_CAMERA_SUPPORT
601
MString ufeCameraPathString = getFrameContext()->getCurrentUfeCameraPath(&status);
602
- Ufe::Path ufeCameraPath = Ufe::PathString::path(ufeCameraPathString.c_str());
+ Ufe::Path ufeCameraPath = Ufe::PathString::path(ufeCameraPathString.asChar());
603
bool isUsdCamera = ufeCameraPath.runTimeId() == MayaUsd::ufe::getUsdRunTimeId();
604
#else
605
static const MString defaultUfeProxyCameraShape(
0 commit comments