From 1b64b6437257d92184f2ee713bfb524fca2eb683 Mon Sep 17 00:00:00 2001 From: waxfrenzy Date: Tue, 21 Jan 2003 21:47:45 +0000 Subject: [PATCH] Ignore plugin list in prefs file when scanning for plugins --- SpiralSynthModularInfo.C | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/SpiralSynthModularInfo.C b/SpiralSynthModularInfo.C index 6bd72de..dbb1a16 100644 --- a/SpiralSynthModularInfo.C +++ b/SpiralSynthModularInfo.C @@ -178,13 +178,16 @@ void SpiralSynthModularInfo::StreamInPrefs(istream &s) s>>temp>>temp>>PLUGIN_PATH; s>>temp>>temp; string st; + +#ifdef SSM_EXPLICIT_PLUGIN_LIST PLUGINVEC.clear(); - + while(st!="end" && !s.eof()) - { + { s>>st; if (st!="end") PLUGINVEC.push_back(st); } +#endif #if __APPLE__ // ignore custom paths, plugins are encapsulated in the app anyway // this prevents the program to fail if the user move the application icon @@ -196,22 +199,22 @@ void SpiralSynthModularInfo::StreamOutPrefs(ostream &s) { // call base class SpiralInfo::StreamOutPrefs(s); - + s<