Browse Source

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

pull/12/head
Cirilo Bernardo 10 years ago
parent
commit
98f867629b
  1. 8
      3d-viewer/3d_cache/3d_plugin_manager.cpp

8
3d-viewer/3d_cache/3d_plugin_manager.cpp

@ -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();

Loading…
Cancel
Save