Added debug printouts to help debug plugin search/loading on MSWin

This commit is contained in:
Cirilo Bernardo 2016-01-06 06:48:27 +11:00
parent b126c1b697
commit 98f867629b
1 changed files with 8 additions and 0 deletions

View File

@ -329,6 +329,10 @@ void S3D_PLUGIN_MANAGER::checkPluginName( const wxString& aPath,
aPluginList.push_back( wxpath );
#ifdef DEBUG
std::cerr << " * [INFO] found 3D plugin '" << wxpath.ToUTF8() << "'\n";
#endif
return;
}
@ -340,6 +344,10 @@ void S3D_PLUGIN_MANAGER::checkPluginPath( const wxString& aPath,
if( aPath.empty() )
return;
#ifdef DEBUG
std::cerr << " * [INFO] checking for 3D plugins in '" << aPath << "'\n";
#endif
wxFileName path( wxFileName::DirName( aPath ) );
path.Normalize();