Applying API changes of ITAGeo

parent deafc3f5
......@@ -48,12 +48,12 @@ int main( int iNumInArgs, char* pcInArgs[] )
if( iNumInArgs > 1 )
sInFile = string( pcInArgs[ 1 ] );
CMaterialDirectory oMaterialDir( "./" );
auto pMaterialDir = make_shared< Material::CDirectory >( "./" );
SketchUp::CModel oGeoModel;
auto vpMeshModelList = make_shared< ITAGeo::Halfedge::CMeshModelList>();
vpMeshModelList->SetMaterialManager( &oMaterialDir );
vpMeshModelList->SetMaterialManager( pMaterialDir );
if (vpMeshModelList->Load(sSUFolder + sInFile + ".skp"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment