mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
Mantis#1682. Revert temporarily, Sempuki's mono addins patch
while he studies the issues in Windows a little bit.
This commit is contained in:
@@ -25,10 +25,14 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using Mono.Addins;
|
||||
using OpenSim.Framework;
|
||||
|
||||
[assembly : AddinRoot("OpenSim", "0.5")]
|
||||
|
||||
namespace OpenSim
|
||||
{
|
||||
[TypeExtensionPoint("/OpenSim/Startup")]
|
||||
public interface IApplicationPlugin : IPlugin
|
||||
{
|
||||
void Initialise(OpenSimBase openSim);
|
||||
|
||||
@@ -34,6 +34,7 @@ using System.Text;
|
||||
using System.Threading;
|
||||
using libsecondlife;
|
||||
using log4net;
|
||||
using Mono.Addins;
|
||||
using Nini.Config;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Framework.Communications.Cache;
|
||||
@@ -336,7 +337,7 @@ namespace OpenSim
|
||||
PluginLoader<IApplicationPlugin> loader =
|
||||
new PluginLoader<IApplicationPlugin> (new ApplicationPluginInitialiser (this));
|
||||
|
||||
loader.Load ("/OpenSim/Startup");
|
||||
loader.Load ("/OpenSim/Startup", ".");
|
||||
m_plugins = loader.Plugins;
|
||||
}
|
||||
|
||||
@@ -729,4 +730,3 @@ namespace OpenSim
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user