aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Try to prevent attachments twisting/movingMelanie Thielker2008-11-291-1/+1
|
* * minor: remove mono compiler warningJustin Clarke Casey2008-11-281-1/+1
|
* * Remove unused and largely unimplemented UpdateUserCurrentRegion()Justin Clarke Casey2008-11-271-1/+0
| | | | | | * please say if this causes you a problem
* * minor: remove the ability to change the client in ScenePresence to reduce ↵Justin Clarke Casey2008-11-271-1/+3
| | | | | | | | the scope of possible bugs - currently unused in the core code * if this is being used then please say and we can see if there is a better accomodation of this
* Thank you kindly, Nlin for a patch that:Charles Krinke2008-11-271-0/+132
| | | | | | | | | | | | | | Adds a new method to IClientAPI to allow adding message handlers for GenericMessages (of which "autopilot" is one). Part 2 adds a specific autopilot handler in ScenePresence.cs. 2) Removing unused variables and functions. 3) Simplifying the navigation logic in ScenePresence.cs. The original patch was somewhat complex because it included orientation logic for a future enhancement of orienting the avatar to point towards the direction being walked. Currently this isn't working, though, so I removed the orientation code, which leaves just the smaller and hopefully simpler-to-understand movement code.
* * minor: Remove unused SetAnimation method that was identical to TrySetAnimationJustin Clarke Casey2008-11-261-13/+1
|
* * Eliminate forceAvatarMovement() in favour of existing AddNewMovement()Justin Clarke Casey2008-11-261-7/+4
|
* * Get rid of the phenomena where the avatar sometimes reverts to the stand ↵Justin Clarke Casey2008-11-261-6/+30
| | | | | | | | | animation when flying across borders * Applies to both standalone and grid mode * The slight retardation on border cross remains - this is a separate issue
* * Adding ScenePresence.ClientView property to return IClientCore interface ↵Adam Frisby2008-11-261-0/+6
| | | | to a client.
* * Swaps Scene.Entities Dictionary for EntityManager.Adam Frisby2008-11-241-1/+1
| | | | | | * Important Changes: Scene.Entities is now IEnumerable directly. You do not need to use Entities.Values, you can Enumerate on .Entities directly. (So 'foreach Scene.Entities' vs 'foreach Scene.Entities.Values'). * Locks: Entities maintains it's own internal locking states. This means you do not need to lock entities anymore. I'll be going through and removing locks on it systematically.
* Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker2008-11-211-1/+1
| | | | | | the internals of the permissions module adapter sane
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-211-1/+1
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
* * Add enough infrastructure code to run an extremely basic and flaky add ↵Justin Clarke Casey2008-11-201-0/+2
| | | | root agent scene test
* Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the newMelanie Thielker2008-11-191-3/+3
| | | | | | libOMV.
* Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker2008-11-191-3/+3
| | | | | | | | | release a direct descendant of the stable 7364, with all the features and none of the issues. This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373 r7372 r7370 r7369 r7368 r7367 r7366
* * Added and removed debug information relating to client connectionsAdam Frisby2008-11-181-2/+3
| | | | | | * Minor client fixes * Added the ability for a client to login without a UserProfile, allowing certain alternate clients to connect to the region.
* * Update libOMV to r2359. This is necessary for the progressive texture patchJustin Clarke Casey2008-11-171-3/+3
| | | | | | | | * Update libopenjpeg as well for this patch. * Appears to be okay on a very short sniff test * Source code will be placed in opensim-libs shortly
* * Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey2008-11-171-5/+5
| | | | | | | | | | * This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted. However, in many cases this will not be necessary since updates to deleted parts will not be sent to the client * This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation * Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP * Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
* Lots of experimentation yielded a fair approximation of a hip offset from theMelanie Thielker2008-11-141-1/+8
| | | | | | | | physical center of an avatar, for display purposes. This should keep the avatar feet above ground visually in most cases. Tweaked for both height extremes and various leg lengths. Improvements welcome
* * refactor: as per a recent opensim-dev thread, rename InnerScene to ↵Justin Clarke Casey2008-11-121-1/+1
| | | | SceneGraph to make it more descriptive of its intended function
* Restore the independent LocalID numbering for avatars. Fixes an issue whereMelanie Thielker2008-11-101-1/+4
| | | | | | | it becomes impossible to cross back into a region you came from, or freeze several seconds after region crossings.
* * Take out the 1 second sleep debugging line in ScenePresenceJustin Clarke Casey2008-11-101-1/+0
|
* Stop attachments from causing an update to be sent on every frame in whichMelanie Thielker2008-11-101-2/+4
| | | | | | an avatar moves.
* Small bugfix for RemoveNeighbourRegionHomer Horwitz2008-11-081-1/+1
|
* * Correct catch changed on last commit, since I just realized I started ↵Justin Clarke Casey2008-11-071-1/+1
| | | | making it catch a little too much, in principle
* * minor: Remove mono compiler warningJustin Clarke Casey2008-11-071-1/+1
|
* * Fix bug in r7162 where avatars could not moveJustin Clarke Casey2008-11-071-0/+1
| | | | | | | * Was caused by the lack of a local id. Local ids are now given from the same sequence as prims, rather than a separate one * I don't believe this will cause any problems, but please revert to a separate sequence if it does
* * Remove next local id from SceneBaseJustin Clarke Casey2008-11-071-4/+0
| | | | | | * This was only reference by ScenePresence and not used anyway - Scene itself had it's own copy
* * minor: Just some tidy up of log messages, etc.Justin Clarke Casey2008-11-071-13/+5
|
* * Stop requiring local ids in the SOG constructors.Justin Clarke Casey2008-11-071-2/+1
| | | | | | * These are assigned when the object is attached to the scene
* Fixing up some remaining attachment issuesMelanie Thielker2008-11-071-6/+4
|
* Attachments, attachments, and, did I say attachments?Melanie Thielker2008-11-071-35/+64
| | | | | | Too many fixes to list.
* * refactor: Attach a scene object to a scene separately from its constructionJustin Clarke Casey2008-11-061-11/+13
|
* Mantis#2423. Thank you kindly, Godfrey for a patch that:Charles Krinke2008-11-061-2/+2
| | | | | | | | Included patch fixes error: Z and W terms in the quaternion were swapped (ZERO_ROTATION is <0,0,0,1>, it was checking for <0,0,1,0>). There is an issue with older prims: it seems their default sit target was not always set to ZERO_ROTATION;
* Mantis#2514 & 1375. Thank you kindly, Thomas for a patch that:Charles Krinke2008-11-061-1/+1
| | | | | | Improves ScenePresence.cs for attachments when crossing boundaries between regions.
* Disable distance sorting for child agents. It makes no sense there, as theMelanie Thielker2008-11-061-4/+7
| | | | | | base point for the sort is 128,128,128, causing funny visuals
* * Stop sending wearables back to the client on set appearanceJustin Clarke Casey2008-11-041-6/+1
| | | | | | * Now I've had time to analyze this, the Second Life grid doesn't appear to send this to the client (which in principle should know what wearables it has already)
* * minor: appearance related doc and log message tweakingJustin Clarke Casey2008-11-041-5/+11
|
* Added a (xmlIgnored) SitAnimation property to SceneObjectPart. That allows ↵MW2008-11-041-2/+58
| | | | | | | | | the setting of the name of the animation to be used when a avatar sits on that object. At some point in the future this should be persisted. So basically simplifies what a lsl script that detects a avatar sitting on a prim, then stopping the sit animation and playing a custom animation, does. Also added another ScenePresence.HandleAgentRequestSit() method , that accepts the name of the sit animation. So that modules can override the animation used, when they are doing a server controlled sit. Started some work on making the stand pose be played as soon as a user logs into a region. Rather than them starting with their arms stretched. This still needs more work
* * Reinstate sending wearables back to the client in response to set appearanceJustin Clarke Casey2008-10-311-1/+1
| | | | | | | * Since the client sets the appearance in the first place (in response to receiving wearables information originally) this seems a little redundant * But I've realized I didn't actually test this assumption, so I'm going to reinstate it for now
* * Possibly fix grey avatar appearance problemsJustin Clarke Casey2008-10-281-2/+2
| | | | | | | | | | | | * And hopefully rebaking all the time should no longer be necessary now * It turns out that when the client baked the texture, the uploaded asset had the Temporary flag to true (Temporary is actually deprecated). * It also had the StoreLocal flag set to true, which signifies that the asset should be stored locally. If it disappears we should reply to the asset request with ImageNotInDatabasePacket * However, last time this was enabled some clients started crashing. This may well no longer be the case and needs to be tested, but in the mean time we will store the asset instead. * This needs to be resolved in a better way, possibly by starting to send the ImageNotInDatabase packet again instead
* * minor: Add documentation to some of the appearance methods, change some ↵Justin Clarke Casey2008-10-281-9/+14
| | | | logging messages
* * Eliminate an extra unnecessary appearance fetch on loginJustin Clarke Casey2008-10-281-19/+13
| | | | | | * This shouldn't fix the existing appearance bugs, but neither should it make them worse.
* * minor: Doc and log message tidy upJustin Clarke Casey2008-10-281-3/+3
| | | | | | * reinstate debug level log message indicating when a child agent is made a root for future debugging purposes
* Thank you kindly, Mircea Kitsune for a patch that solves:Charles Krinke2008-10-281-2/+2
| | | | | | | | When the avatar stops flying in mid air, it stays still while it falls to the ground. Normally, the avatar would use the falling animation (when it spins its arms and legs while falling) until it reaches the ground.
* Committing a small fix for EventData along with more plumbing workMelanie Thielker2008-10-261-2/+20
|
* Make ScenePresence.Close public to allow subclassing of SceneCommsMelanie Thielker2008-10-251-1/+1
|
* * Apply http://opensimulator.org/mantis/view.php?id=2459Justin Clarke Casey2008-10-231-0/+5
| | | | | | | * Implements the rest of llGetAgentInfo() with the exception of AGENT_BUSY. * Thanks nlin
* Thank you kindly, Idb for a patch that:Charles Krinke2008-10-221-0/+21
| | | | | | Added AGENT_ATTACHMENTS and AGENT_SCRIPTED to llGetAgentInfo Added to llGetAgentSize to include shoes in avatar height calculation.
* Thank you kindly, Nlin for a patch that:Charles Krinke2008-10-221-1/+1
| | | | | | Attached patch adds detection of AGENT_WALKING status to LSL function llGetAgentInfo()