diff --git a/Changes.md b/Changes.md index 1b6efcb9425..137bded6137 100644 --- a/Changes.md +++ b/Changes.md @@ -5,6 +5,7 @@ Fixes ----- - IECoreArnold::VDBAlgo : Fixed suppression of exception messages +- GafferVDB::MeshToLevelSet : Added computation of metadata ( needed by Arnold backend for rendering ) 1.4.8.0 (relative to 1.4.7.0) diff --git a/src/GafferVDB/MeshToLevelSet.cpp b/src/GafferVDB/MeshToLevelSet.cpp index 0d0422bb956..3d32de31147 100644 --- a/src/GafferVDB/MeshToLevelSet.cpp +++ b/src/GafferVDB/MeshToLevelSet.cpp @@ -237,6 +237,9 @@ IECore::ConstObjectPtr MeshToLevelSet::computeProcessedObject( const ScenePath & grid->setName( gridPlug()->getValue() ); + // In our Arnold backend, we assume this metadata exists, and otherwise fail to render things + grid->addStatsMetadata(); + VDBObjectPtr newVDBObject = new VDBObject(); newVDBObject->insertGrid( grid );