* Remove warnings, including one which pointed out a bug
parent
97f4226666
commit
9d6f043a79
|
@ -249,7 +249,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
/// </returns>
|
||||
protected bool AddSceneObject(SceneObjectGroup sceneObject, bool attachToBackup)
|
||||
{
|
||||
if (sceneObject == null || sceneObject.RootPart == null || sceneObject.RootPart.UUID == null)
|
||||
if (sceneObject == null || sceneObject.RootPart == null || sceneObject.RootPart.UUID == UUID.Zero)
|
||||
return false;
|
||||
|
||||
sceneObject.ApplyPhysics(m_parentScene.m_physicalPrim);
|
||||
|
|
|
@ -277,7 +277,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
|
|||
Vector3 ZeroVector = new Vector3(0, 0, 0);
|
||||
|
||||
bool nameSearch = (ts.name != null && ts.name != "");
|
||||
SceneObjectGroup group;
|
||||
|
||||
foreach (EntityBase ent in Entities)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue