[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] SF.net SVN: supercollider: [7388] trunk/Source/server/SC_Lib_Cintf.cpp



Revision: 7388
          http://svn.sourceforge.net/supercollider/?rev=7388&view=rev
Author:   joshpar
Date:     2008-02-28 07:11:21 -0800 (Thu, 28 Feb 2008)

Log Message:
-----------
have the Server ingnore user dirs for standalones

Modified Paths:
--------------
    trunk/Source/server/SC_Lib_Cintf.cpp

Modified: trunk/Source/server/SC_Lib_Cintf.cpp
===================================================================
--- trunk/Source/server/SC_Lib_Cintf.cpp	2008-02-26 22:58:40 UTC (rev 7387)
+++ trunk/Source/server/SC_Lib_Cintf.cpp	2008-02-28 15:11:21 UTC (rev 7388)
@@ -128,7 +128,7 @@
 	
 	// get extension directories
 	char extensionDir[MAXPATHLEN];
-
+	if (!sc_IsStandAlone()) {
  	// load system extension plugins
 	sc_GetSystemExtensionDirectory(extensionDir, MAXPATHLEN);
  	PlugIn_LoadDir(extensionDir, false);
@@ -142,7 +142,7 @@
 	while (!sp.AtEnd()) {
 		PlugIn_LoadDir(const_cast<char *>(sp.NextToken()), true);
 	}
-
+	}
 #ifdef SC_DARWIN
 	/* on darwin plugins are lazily loaded (dlopen uses mmap internally), which can produce audible
 		glitches when UGens have to be paged-in. to work around this we preload all the plugins by


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.