aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorUbitUmarov2012-12-07 20:06:35 +0000
committerUbitUmarov2012-12-07 20:06:35 +0000
commit2ea0dc55d7ea6da6e91ab614856cdeece7eae5d2 (patch)
treeb206c3b95b118718a62d8e1a8b81347e50a0ea80 /OpenSim/Region/Framework/Scenes
parentcalculate avatar size on tps (diff)
downloadopensim-SC-2ea0dc55d7ea6da6e91ab614856cdeece7eae5d2.zip
opensim-SC-2ea0dc55d7ea6da6e91ab614856cdeece7eae5d2.tar.gz
opensim-SC-2ea0dc55d7ea6da6e91ab614856cdeece7eae5d2.tar.bz2
opensim-SC-2ea0dc55d7ea6da6e91ab614856cdeece7eae5d2.tar.xz
create a new ode character also with the new information
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index b6eae8e..7602d6b 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3450,9 +3450,15 @@ namespace OpenSim.Region.Framework.Scenes
3450 3450
3451 Vector3 pVec = AbsolutePosition; 3451 Vector3 pVec = AbsolutePosition;
3452 3452
3453/*
3453 PhysicsActor = scene.AddAvatar( 3454 PhysicsActor = scene.AddAvatar(
3454 LocalId, Firstname + "." + Lastname, pVec, 3455 LocalId, Firstname + "." + Lastname, pVec,
3455 new Vector3(0.45f, 0.6f, Appearance.AvatarHeight), isFlying); 3456 new Vector3(0.45f, 0.6f, Appearance.AvatarHeight), isFlying);
3457*/
3458
3459 PhysicsActor = scene.AddAvatar(
3460 LocalId, Firstname + "." + Lastname, pVec,
3461 Appearance.AvatarBoxSize,Appearance.AvatarFeetOffset, isFlying);
3456 3462
3457 //PhysicsActor.OnRequestTerseUpdate += SendTerseUpdateToAllClients; 3463 //PhysicsActor.OnRequestTerseUpdate += SendTerseUpdateToAllClients;
3458 PhysicsActor.OnCollisionUpdate += PhysicsCollisionUpdate; 3464 PhysicsActor.OnCollisionUpdate += PhysicsCollisionUpdate;