Skip to content

Commit

Permalink
Merge pull request #3207 from Autodesk/gamaj/make_listener_node_unper…
Browse files Browse the repository at this point in the history
…sistable

Proxy shape listener nodes should not be persisted
  • Loading branch information
seando-adsk authored Jul 10, 2023
2 parents ce0e0cb + 1be79ae commit 7d4d373
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/mayaUsd/nodes/proxyShapeListenerBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@ MStatus MayaUsdProxyShapeListenerBase::initialize()
return retValue;
}

void MayaUsdProxyShapeListenerBase::postConstructor() { setExistWithoutInConnections(false); }
void MayaUsdProxyShapeListenerBase::postConstructor()
{
setExistWithoutInConnections(false);
setDoNotWrite(true);
}

MStatus MayaUsdProxyShapeListenerBase::compute(const MPlug& plug, MDataBlock& dataBlock)
{
Expand Down

0 comments on commit 7d4d373

Please sign in to comment.