mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
dont change camera on crossings
This commit is contained in:
@@ -1198,9 +1198,6 @@ no information to check this
|
||||
}
|
||||
AbsolutePosition = pos;
|
||||
|
||||
// reset camera to avatar pos
|
||||
CameraPosition = pos;
|
||||
|
||||
if (m_teleportFlags == TeleportFlags.Default)
|
||||
{
|
||||
Vector3 vel = Velocity;
|
||||
@@ -1209,8 +1206,11 @@ no information to check this
|
||||
PhysicsActor.SetMomentum(vel);
|
||||
}
|
||||
else
|
||||
{
|
||||
AddToPhysicalScene(isFlying);
|
||||
|
||||
// reset camera to avatar pos
|
||||
CameraPosition = pos;
|
||||
}
|
||||
|
||||
if (ForceFly)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user