:发现daeReader.h,daeRProfile_GLSL.cpp,daeRMaterials.cpp这两个错误出现的比较多:error C2039: 'getFilepath' : is not a member of 'daeURI',error C2039: 'getFile' : is not a member of 'daeURI'
修改前: | 修改后: |
if ( uri.getFilepath() != NULL )
{
bufSize += strlen( uri.getFilepath() );
}
if ( uri.getFile() != NULL )
{
bufSize += strlen( uri.getFile() );
}
|
if ( !uri.pathDir().empty() )
{
bufSize += uri.pathDir().length();
}
if ( !uri.pathFile().empty() )
{
bufSize += uri.pathFile().length();
}
|
修改前: | 修改后: |
domPRef p = (domP*)(daeElement*)domP::_Meta->create(); | domPRef p = (domP*)domP::registerElement(*dae)->create().cast(); |
源代码: | 应修改为: |
domFx_surface_init_from_common_Array& initFromArray = surface->getInit_from_array();
|
domFx_surface_init_from_common_Array& initFromArray = surface->getFx_surface_init_common()->getInit_from_array();
|