fix for output object xforms not updating if the asset is a subnet
@@ -115,7 +115,10 @@ OutputGeometryObject::compute(
}
// compute transform
- if(myNodeInfo.totalCookCount > myLastCookCount)
+ // always compute, even if the totalCookCount has not changed:
+ // When an asset is an OBJ subnet, calling HAPI_CookNode() on the asset
+ // doesn't cause a cook on the OBJ nodes in the asset. So the
+ // HAPI_NodeInfo.totalCookCount would never be incremented - Andrew W.
{
MDataHandle transformHandle = objectHandle.child(AssetNode::outputObjectTransform);
updateTransform(transformHandle);
