aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Incorporate scene teleporting debugging into "debug scene teleport ↵Justin Clark-Casey (justincc)2012-03-211-1/+1
| | | | true|false" command
* slight increase in jump power to make running jump slightly better.nebadon2012-03-201-1/+1
|
* reduce avatar verticle jump from the absurd 5 meter jump to a lessnebadon2012-03-201-1/+1
| | | | | absurd 3m vertical jump to better match what you would see in Second Life and be more in line with what users would expect.
* Get rid of unnecessary ParentID == 0 check on SP.Get_AbsolutePosition since ↵Justin Clark-Casey (justincc)2012-03-091-2/+2
| | | | this is handled by the necessary ParentPart check
* Use SP.ParentPart instead of ParentID in places where it's more efficient ↵Justin Clark-Casey (justincc)2012-03-091-13/+13
| | | | | | | (saving extra null checks, etc.) However, it looks like we should retain SP.ParentID since it's much easier to use that in places where another thread could change ParentPart to null. Otherwise one has to clumsily put ParentPart in a reference, etc. to avoid a race.
* refactor: cleanup SP.HandleAgentSit so that everything is done within one if ↵Justin Clark-Casey (justincc)2012-03-091-15/+8
| | | | (part != null), rather than having unnecessary multiple checks
* Remove a race condition from SP.Set_AbsolutePosition where we assume the ↵Justin Clark-Casey (justincc)2012-03-091-5/+5
| | | | | | ParentPart is still not null if the ParentID != 0 Another thread could come in and stand the avatar between those two instructions.
* Hold a ref to the prim we're sat on rather than querying scene each timeMelanie2012-03-081-27/+29
| | | | the check for significant is carried out. Prevents a deadlock condition.
* ScenePresence line endings and fix AllowMovement default to true.Dan Lake2012-03-021-30/+30
|
* In ScenePresence, removed several private variables used to store public ↵Dan Lake2012-03-011-108/+44
| | | | parameters. They were only used by the get/set and make code harder to refactor.
* Try to resolve some problems with viewers crashing after hitting parcel ↵Justin Clark-Casey (justincc)2012-02-231-5/+8
| | | | | | | | | | banlines or freezing on the banline. This involves 1) On forcible teleport, call m_scene.RequestTeleportLocation() rather than ScenePresence.Teleport() - only EntityTransferModule now should call SP.Teleport() 2) When avatar is being forcibly moved due to banlines, use a 'stop movement' tolerance of 0.2 to requested position rather than 1 This prevents the avatar sometimes being stuck to banlines until they teleport somewhere else. This aims to fix some problems in http://opensimulator.org/mantis/view.php?id=5822
* Add a position parameter to region crossing of objects. This avoids theMelanie2012-02-231-1/+1
| | | | | | potential bad update that places an object at the opposite side of the origin sim for a moment before actually crossing it. Especially important in grids like OSG where lag between sims is high.
* Amend to last commit. This should have been committed too.Diva Canto2012-02-191-1/+1
|
* A few more tweaks on position updates and create child agents. Mono hates ↵Diva Canto2012-02-191-1/+2
| | | | concurrent uses of the same TCP connection, and even of the connections to the same server. So let's stop doing it. This patch makes movement much smoother when there are lots of neighbours.
* Make ScenePresence.MovementFlag a private only settable value to reduce ↵Justin Clark-Casey (justincc)2012-02-111-7/+4
| | | | complexity of code analysis
* Teleport routing, part 1Melanie2012-01-241-0/+53
|
* Comment out noisy log lines I accidentally included in the nant build target ↵Justin Clark-Casey (justincc)2012-01-161-1/+1
| | | | | | adjustment commit. Left in the method doc.
* Remove monocov and other obsolete nant build targets.Justin Clark-Casey (justincc)2012-01-161-1/+1
| | | | | monocov was a code coverage attempt 3 years ago which no longer works. other removed targets have been commented out or unused for a very long time
* HG landing points: this hopefully fixes some confusion that was making HG ↵Diva Canto2012-01-101-5/+6
| | | | avies always land in 0,0
* Add some run-time debugging supportBlueWall2012-01-091-1/+3
| | | | | | Add configuration option - DEBUG to enable debugging methods. This is temporary for helping users testing teleport routing be able to report back the data with the test cases. We can remove when finished with this, or leave it if it proves to be useful. Users: set DEBUG = true in OpenSim.ini to get more information from teleport routing. The default is false. It presently prints the TeleportFlags value.
* Use our TeleportFlagsBlueWall2012-01-091-20/+28
| | | | Switch to our TeleportFlags enum instead of LibOMV because we need to define a type for HG Logins. Also moved some debugging in ScenePresence into a function to make it simpler to enable/disable.
* TP Routing debugBlueWall2012-01-091-2/+5
| | | | Fix test to checking against bitfield instead of int
* Fix teleport routing for incoming HG+OwnerBlueWall2012-01-091-18/+19
| | | | Incoming HG owner/estate manager, etc. is routed according to the rules defined for teleports within the local grid. Left some commented debugging code inside so we can test other cases. Will remove when tings are settled in.
* Debugging HG teleport routingBlueWall2012-01-091-0/+18
| | | | Add some temporary debugging to the teleport routing to get a better view of what happens when HG jumps are made.
* Fix HG teleport routingBlueWall2012-01-091-2/+4
| | | | Needed to breakout the ViaHGLogin check to it's own section. For some reason it would not factor in when combined with the other teleport flag types.
* Fix a build breakMelanie2012-01-091-1/+1
|
* Add the HG case to landing point checksMelanie2012-01-091-1/+1
|
* Update teleport routing to match AvinationMelanie2012-01-081-16/+58
|
* Fix teleport routingBlueWall2012-01-081-0/+17
| | | | Route non-owner avatars according to land settings
* Fix bug where tapping home to stop falling would stop any avatar movement ↵Justin Clark-Casey (justincc)2012-01-071-2/+4
| | | | | | other than falling again. Addresses http://opensimulator.org/mantis/view.php?id=5839
* commented out "Prevented flyoff" log message for now as this becomes ↵Justin Clark-Casey (justincc)2012-01-031-1/+1
| | | | | | problematic with bot testing. Please uncomment if still needed.
* And a typo fixMelanie2011-12-221-1/+1
|
* Add a few comments, correct a merge artefactMelanie2011-12-221-1/+6
|
* Harmonizing SP with AvinationMelanie2011-12-221-41/+55
|
* Fixing a bug introduced yesterday. This put the precondition test inside ↵Diva Canto2011-12-221-105/+109
| | | | CheckForBorderCrossing the right way.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2011-12-211-4/+1
|\
| * Though the viewer warns about receiving this, not sending appears to break ↵Justin Clark-Casey (justincc)2011-12-201-4/+1
| | | | | | | | | | | | | | | | | | | | baked texture caching when crossing region boundaries. Needs further investigation. Revert "Stop sending the viewer its own AvatarAppearance packet." This reverts commit 92039f295d7fe66bf1a09b29483f9057e395839e.
* | Moved an external test into the method that uses those preconditions.Diva Canto2011-12-211-19/+11
|/
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2011-12-201-8/+5
|\
| * Stop sending the viewer its own AvatarAppearance packet.Justin Clark-Casey (justincc)2011-12-191-1/+4
| | | | | | | | | | The viewer warns in the log if it receives this. Stopping this doesn't appear to have adverse effects on viewer 1 or viewer 3 - the viewer gets its own appearance from body parts/clothes and self-baked textures.
| * Migrate detailed "appearance show" report generation up to ↵Justin Clark-Casey (justincc)2011-12-191-1/+1
| | | | | | | | | | | | | | | | AvatarFactoryModule from AppearanceInfoModule so that it can be used in debug (inactive). Further filters "debug packet <level>" to exclused [Request]ObjectPropertiesFamily if level is below 25. Adjust some method doc Minor changes to some logging messages.
| * Stop generating client flags when we send out full object updates.Justin Clark-Casey (justincc)2011-12-161-6/+0
| | | | | | | | These were entirely unused.
* | Changed the async approach on close child agents. This may improve crossings ↵Diva Canto2011-12-161-1/+4
|/ | | | a little bit.
* No functional changes. Changed the prefix of that log message [CONNECTION ↵Diva Canto2011-12-161-9/+9
| | | | | | BEGIN] to [SCENE] because that's where the message happens. Also changed the instantiation of a vector object to be done only once instead of every time we receive a position update.
* Stop having to call SetHeight again in ScenePresence.AddToPhysicalScene() ↵Justin Clark-Casey (justincc)2011-12-151-6/+2
| | | | | | when we've already passed size information to the avatar at PhysicsScene.AddAvatar() Eliminate some copypasta for height setting in OdeCharacter
* Code cleanup related to ScenePresence.PhysicsActor and OdeScene/OdeCharacterJustin Clark-Casey (justincc)2011-12-151-27/+32
| | | | | | Stop hiding RemoveAvatar failure, add log messages when characters are removed through defects or re-added unexpectedly. Add commented out log lines for future use. Use automatic property for PhysicsActor for better code readability and simplicity
* Cleaned up ScenePresence parameters for Flying, WasFlying, FlyingOld and ↵Dan Lake2011-12-121-40/+49
| | | | IsColliding
* Get rid of IScene.PresenceChildStatus() which always had to execute a lookup ↵Justin Clark-Casey (justincc)2011-12-091-13/+2
| | | | in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
* remove some unused fields in ScenePresenceJustin Clark-Casey (justincc)2011-12-091-4/+0
|
* Remove unnecessary AgentCircuitData null check from Scene.AddNewClient().Justin Clark-Casey (justincc)2011-12-081-1/+1
| | | | | The only caller is the LLUDP stack and this has to validate the UDP circuit itself, so we know that it exists. This allows us to eliminate another null check elsewhere and simplifies the method contract