Skip to content

Commit

Permalink
fixup! IECoreUSD : Use / for resolved paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmehl committed Sep 17, 2024
1 parent 2a2ff78 commit ffe4507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/IECoreUSD/src/IECoreUSD/VolumeAlgo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ IECore::ObjectPtr readVolume( pxr::UsdVolVolume &volume, pxr::UsdTimeCode time,
}

ConstDataPtr fieldFileNameData = DataAlgo::fromUSD( fieldAsset.GetFilePathAttr(), time );
const std::string fieldFileName = runTimeCast<const StringData>( fieldFileNameData )->readable();
const std::string fieldFileName = static_cast<const StringData *>( fieldFileNameData.get() )->readable();

if( fileName.empty() )
{
Expand Down

0 comments on commit ffe4507

Please sign in to comment.