diff options
number of changes
Diffstat (limited to 'OpenSim/OpenSim.Physics/BasicPhysicsPlugin')
-rw-r--r-- | OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs index 54be853..69f5915 100644 --- a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs +++ b/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |||
@@ -49,11 +49,7 @@ namespace OpenSim.Physics.BasicPhysicsPlugin | |||
49 | 49 | ||
50 | public PhysicsScene GetScene() | 50 | public PhysicsScene GetScene() |
51 | { | 51 | { |
52 | if(_mScene == null) | 52 | return new BasicScene(); |
53 | { | ||
54 | _mScene = new BasicScene(); | ||
55 | } | ||
56 | return(_mScene); | ||
57 | } | 53 | } |
58 | 54 | ||
59 | public string GetName() | 55 | public string GetName() |