diff --git a/3d-viewer/3d_cache/3d_plugin_manager.cpp b/3d-viewer/3d_cache/3d_plugin_manager.cpp index 49ec065c63..8081712ed1 100644 --- a/3d-viewer/3d_cache/3d_plugin_manager.cpp +++ b/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();