mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Formatting cleanup.
This commit is contained in:
@@ -94,7 +94,7 @@ namespace OpenSim.Region.Physics.Manager
|
||||
_MeshPlugins.Add(plugHard.GetName(), plugHard);
|
||||
m_log.Info("[PHYSICS]: Added meshing engine: " + plugHard.GetName());
|
||||
|
||||
// And now walk all assemblies (DLLs effectively) and see if they are home
|
||||
// And now walk all assemblies (DLLs effectively) and see if they are home
|
||||
// of a plugin that is of interest for us
|
||||
string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Physics");
|
||||
string[] pluginFiles = Directory.GetFiles(path, "*.dll");
|
||||
@@ -108,11 +108,11 @@ namespace OpenSim.Region.Physics.Manager
|
||||
private void AddPlugin(string FileName)
|
||||
{
|
||||
// TODO / NOTE
|
||||
// The assembly named 'OpenSim.Region.Physics.BasicPhysicsPlugin' was loaded from
|
||||
// The assembly named 'OpenSim.Region.Physics.BasicPhysicsPlugin' was loaded from
|
||||
// 'file:///C:/OpenSim/trunk2/bin/Physics/OpenSim.Region.Physics.BasicPhysicsPlugin.dll'
|
||||
// using the LoadFrom context. The use of this context can result in unexpected behavior
|
||||
// for serialization, casting and dependency resolution. In almost all cases, it is recommended
|
||||
// that the LoadFrom context be avoided. This can be done by installing assemblies in the
|
||||
// for serialization, casting and dependency resolution. In almost all cases, it is recommended
|
||||
// that the LoadFrom context be avoided. This can be done by installing assemblies in the
|
||||
// Global Assembly Cache or in the ApplicationBase directory and using Assembly.
|
||||
// Load when explicitly loading assemblies.
|
||||
Assembly pluginAssembly = Assembly.LoadFrom(FileName);
|
||||
|
||||
Reference in New Issue
Block a user