@@ -110,7 +110,11 @@ IECore::ObjectPtr readBasisCurves( pxr::UsdGeomBasisCurves &curves, pxr::UsdTime
110110 }
111111 else
112112 {
113- IECore::msg ( IECore::Msg::Warning, " USDScene" , boost::format ( " Unsupported basis \" %1%\" " ) % usdBasis );
113+ IECore::msg (
114+ IECore::Msg::Warning, " USDScene" ,
115+ boost::format ( " Unsupported basis \" %1%\" reading \" %2%\" " )
116+ % usdBasis % curves.GetPath ()
117+ );
114118 }
115119 }
116120
@@ -125,7 +129,11 @@ IECore::ObjectPtr readBasisCurves( pxr::UsdGeomBasisCurves &curves, pxr::UsdTime
125129 }
126130 else if ( wrap != pxr::UsdGeomTokens->nonperiodic )
127131 {
128- IECore::msg ( IECore::Msg::Warning, " USDScene" , boost::format ( " Unsupported wrap \" %1%\" " ) % wrap );
132+ IECore::msg (
133+ IECore::Msg::Warning, " USDScene" ,
134+ boost::format ( " Unsupported wrap \" %1%\" reading \" %2%\" " )
135+ % wrap % curves.GetPath ()
136+ );
129137 }
130138
131139 return readCurves ( curves, time, basis, periodic, canceller );
@@ -205,7 +213,9 @@ bool writeCurves( const IECoreScene::CurvesPrimitive *curves, const pxr::UsdStag
205213 }
206214 else if ( curves->basis () != CubicBasisf::linear () )
207215 {
208- IECore::msg ( IECore::Msg::Warning, " USDScene" , " Unsupported basis" );
216+ IECore::msg (
217+ IECore::Msg::Warning, " USDScene" , boost::format ( " Unsupported basis writing \" %1%\" " ) % path
218+ );
209219 }
210220
211221 if ( !basis.IsEmpty () )
0 commit comments