Skip to content

Commit 7fb8809

Browse files
V-GorashV-Gorash
V-Gorash
authored and
V-Gorash
committed
string fix
1 parent 8e23f59 commit 7fb8809

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

FireRender.Maya.Src/Context/FireRenderContext.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3591,7 +3591,9 @@ void FireRenderContext::ReadDenoiserFrameBuffersIntoRAM(ReadFrameBufferRequestPa
35913591

35923592
frw::Light FireRenderContext::GetRprLightFromNode(const MObject& node)
35933593
{
3594-
const char* uuid = MFnDependencyNode(node).uuid().asString().asChar();
3594+
MUuid uuidPointer = MFnDependencyNode(node).uuid();
3595+
MString uuidString = uuidPointer.asString();
3596+
const char* uuid = uuidString.asChar();
35953597

35963598
if (m_sceneObjects.find(uuid) == m_sceneObjects.end())
35973599
{

0 commit comments

Comments
 (0)