From 8aded5bdd00c4998f62381663af7f4caddc26748 Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Mon, 3 Jan 2011 09:13:44 -0800 Subject: [PATCH] Debug message in ODEPrim on object creation. Less restrictive on changed test when routing updates in ODEScene --- OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 711dcb29ff..130b02c613 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs @@ -252,6 +252,8 @@ namespace OpenSim.Region.Physics.OdePlugin m_taintadd = true; _parent_scene.AddPhysicsActorTaint(this); // don't do .add() here; old geoms get recycled with the same hash + m_log.DebugFormat("[PHYSICS] Created ODEPrim: n={0}, m={1}, pbs={2}, phys={3}", + primName, mesh == null ? "NULL" : "DEFINED", pbs == null ? "NULL" : "DEFINED", pisPhysical); } public override void RequestPhysicsterseUpdate() @@ -259,7 +261,8 @@ namespace OpenSim.Region.Physics.OdePlugin if (PhysEngineToSceneConnectorModule.IsPhysEngineActorS) { // if the values have changed and it was I who changed them, send an update - if (this.lastValues.Changed(this) && ChangingActorID == RegionSyncServerModule.ActorID) + // if (this.lastValues.Changed(this) && ChangingActorID == RegionSyncServerModule.ActorID) + if (this.lastValues.Changed(this)) PhysEngineToSceneConnectorModule.RouteUpdate(this); } else