| 10 |
using OpenSim.Region.Environment.Interfaces; |
using OpenSim.Region.Environment.Interfaces; |
| 11 |
using OpenSim.Region.Environment.Scenes; |
using OpenSim.Region.Environment.Scenes; |
| 12 |
using OpenSim.Data.NHibernate; |
using OpenSim.Data.NHibernate; |
| 13 |
|
using OpenSim.Framework; |
| 14 |
|
|
| 15 |
namespace ModularRex.RexParts |
namespace ModularRex.RexParts |
| 16 |
{ |
{ |
| 223 |
{ |
{ |
| 224 |
if (sop.PhysActor != null) |
if (sop.PhysActor != null) |
| 225 |
{ |
{ |
|
/* tucofixme, uncomment later |
|
| 226 |
if (p.RexCollisionMeshUUID != UUID.Zero) |
if (p.RexCollisionMeshUUID != UUID.Zero) |
| 227 |
RexUpdateCollisionMesh(id); |
RexUpdateCollisionMesh(id); |
| 228 |
else |
else |
| 229 |
sop.PhysActor.SetCollisionMesh(null, "", false); |
sop.PhysActor.SetCollisionMesh(null, "", false); |
|
*/ |
|
| 230 |
} |
} |
| 231 |
} |
} |
| 232 |
} |
} |
| 255 |
{ |
{ |
| 256 |
if (sop.PhysActor != null) |
if (sop.PhysActor != null) |
| 257 |
{ |
{ |
|
/* tucofixme, uncomment later |
|
| 258 |
sop.PhysActor.SetBoundsScaling(p.RexScaleToPrim); |
sop.PhysActor.SetBoundsScaling(p.RexScaleToPrim); |
| 259 |
sop.ParentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(sop.PhysActor); |
sop.ParentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(sop.PhysActor); |
|
*/ |
|
| 260 |
} |
} |
| 261 |
} |
} |
| 262 |
|
|
| 284 |
|
|
| 285 |
if (p.RexCollisionMeshUUID != UUID.Zero && sop.PhysActor != null) |
if (p.RexCollisionMeshUUID != UUID.Zero && sop.PhysActor != null) |
| 286 |
{ |
{ |
|
/* tucofixme, uncomment later |
|
| 287 |
AssetBase tempmodel = sop.ParentGroup.Scene.AssetCache.GetAsset(p.RexCollisionMeshUUID,false); |
AssetBase tempmodel = sop.ParentGroup.Scene.AssetCache.GetAsset(p.RexCollisionMeshUUID,false); |
| 288 |
if (tempmodel != null) |
if (tempmodel != null) |
| 289 |
sop.PhysActor.SetCollisionMesh(tempmodel.Data, tempmodel.Name, p.RexScaleToPrim); |
sop.PhysActor.SetCollisionMesh(tempmodel.Data, tempmodel.Name, p.RexScaleToPrim); |
|
*/ |
|
| 290 |
} |
} |
| 291 |
} |
} |
| 292 |
|
|