Added debug printouts to help debug plugin search/loading on MSWin
This commit is contained in:
parent
b126c1b697
commit
98f867629b
|
@ -329,6 +329,10 @@ void S3D_PLUGIN_MANAGER::checkPluginName( const wxString& aPath,
|
||||||
|
|
||||||
aPluginList.push_back( wxpath );
|
aPluginList.push_back( wxpath );
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
std::cerr << " * [INFO] found 3D plugin '" << wxpath.ToUTF8() << "'\n";
|
||||||
|
#endif
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -340,6 +344,10 @@ void S3D_PLUGIN_MANAGER::checkPluginPath( const wxString& aPath,
|
||||||
if( aPath.empty() )
|
if( aPath.empty() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
std::cerr << " * [INFO] checking for 3D plugins in '" << aPath << "'\n";
|
||||||
|
#endif
|
||||||
|
|
||||||
wxFileName path( wxFileName::DirName( aPath ) );
|
wxFileName path( wxFileName::DirName( aPath ) );
|
||||||
path.Normalize();
|
path.Normalize();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue