diff --git a/3d-viewer/3d_cache/3d_plugin_manager.cpp b/3d-viewer/3d_cache/3d_plugin_manager.cpp index daa9324176..3317e84983 100644 --- a/3d-viewer/3d_cache/3d_plugin_manager.cpp +++ b/3d-viewer/3d_cache/3d_plugin_manager.cpp @@ -297,8 +297,11 @@ void S3D_PLUGIN_MANAGER::checkPluginName( const wxString& aPath, // prevent loading non-plugin dlls if( wxGetEnv( wxT( "KICAD_RUN_FROM_BUILD_DIR" ), nullptr ) ) { - if( !path.GetName().StartsWith( "s3d_plugin" ) ) + if( !path.GetName().StartsWith( "s3d_plugin" ) + && !path.GetName().StartsWith( "libs3d_plugin" ) ) + { return; + } } aPluginList.push_back( wxpath );