Remove redundant SetScene() function in Scene.AddSceneObject()

This is always done later on in SceneGraph.AddSceneObject() if the call hasn't failed due to sanity checks.
There's no other purpose for this method to exist and it's dangerous/pointless to call in other conditions.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-07-07 00:02:45 +01:00
parent f1f390cfdf
commit 7ff4eec79c
7 changed files with 34 additions and 29 deletions

View File

@@ -1081,7 +1081,7 @@ namespace OpenSim.Data.Tests
sop.Shape = PrimitiveBaseShape.Default;
SceneObjectGroup sog = new SceneObjectGroup(sop);
sog.SetScene(scene);
// sog.SetScene(scene);
return sog;
}