aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Dump OpenSim 0.9.0.1 into it's own branch.onefang2019-05-191-123/+395
|
* Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel2016-11-031-8/+30
|
* Restore previous client AO behaviour by not allowing them to remove the ↵Justin Clark-Casey (justincc)2013-01-251-3/+11
| | | | | | | | | default animation but continue to allow scripts to do so. This keeps the fix from http://opensimulator.org/mantis/view.php?id=6327 and fixes the behaviour regression in http://opensimulator.org/mantis/view.php?id=6483 Animations may still exhibit different behaviour if both scripts and clients are adjusting animations. A change in the behaviour of client AO to not remove all animations may be a better long term approach.
* Add "debug set set animations true|false" region console command.Justin Clark-Casey (justincc)2013-01-251-5/+28
| | | | | Setting this logs extra information about animation add/remove, such as uuid and animation name Unfortunately cannot be done per client yet
* minor: Add commented out log lines to ScenePresenceAnimator for future debug ↵Justin Clark-Casey (justincc)2012-12-141-1/+10
| | | | use (such as logging anim pack contents sent to clients)
* Allow default animation to be stopped to be replaced with another one.Melanie2012-10-041-6/+12
| | | | Fixes Mantis #6327
* Stop explicitly closing and nulling out Animator in order to prevent NREs in ↵Justin Clark-Casey (justincc)2012-07-191-7/+1
| | | | | | | various places due to race conditions. Even where checks are being made they aren't enough since they all assume that the Animator they just checked is still there in the next line, which is not necessarily the case without locking. The memory used is small and these should be GC'd anyway when the SP is released. If this is not happening then the wider problem of old SPs being retained needs to be resolved.
* Fixed: custom walking animations didn't stop when the avatar stopped walking.Oren Hurvitz2012-04-271-6/+13
| | | | | | This happened because the scripts were notified about control changes (e.g., the user stopped pressing the Forward key) when the animation was still WALK, so the script didn't stop the walking animation. Fixing this required: a) Update the movement animation *before* notifying the script; b) Add locking to prevent clashes with the Heartbeat thread (which also updates the animations); c) Handle the case of a user who stops walking just as the avatar is in the air: the avatar should STAND in that case, not WALK. This reverts commit feef1dd73243cfdd5322632fb67e64cabc1ad4bc.
* Fix bug in ScenePresenceAnimator.RemoveAnimation() introduced in commit 1a8769eJustin Clark-Casey (justincc)2012-03-231-1/+1
| | | | Forgot to uppercase the animation name for default animations, since for some reason we store and use them in upper rather than lowercase.
* refactor: Rename AvatarAnimations -> DefaultAvatarAnimations for code ↵Justin Clark-Casey (justincc)2012-03-221-2/+2
| | | | clarity since non-default animations are handled completely separately from this class
* Instead of loading default avatar animations in both SLUtil and ↵Justin Clark-Casey (justincc)2012-03-211-2/+6
| | | | | | | | AvatarAnimations, load just in AvatarAnimations instead. This lets us remove the dependency of OpenSim.Framework.dll on data/avataranimations.xml, which is not necessary for ROBUST. This commit also takes care of the odd situation where animations are stored and used internally with uppercase names (e.g. "STAND") but scripts refer to them with lowercase names (e.g. "sit").
* Add method doc to SPA.Falling and use automatic private get propertyJustin Clark-Casey (justincc)2012-01-071-13/+14
|
* Fix bug where tapping home to stop falling would stop any avatar movement ↵Justin Clark-Casey (justincc)2012-01-071-7/+6
| | | | | | other than falling again. Addresses http://opensimulator.org/mantis/view.php?id=5839
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-12-081-1/+1
|
* For now, disable mechanism to limit avatar animation updates since this ↵Justin Clark-Casey (justincc)2011-12-031-0/+5
| | | | | | | | | causes avatars to never reach the correct animation after some actions. This reverts to situation where animation updates are made each frame on SP.PhysicsCollisionUpdate (though a packet is only sent if the anim actually changes). m_updateCount was not being update on various avatar state changes, causing the correct animations to never be sent. Always setting in HandleAgentUpdate() is not enough since the avatar is continually sending AgentUpdate packets. One would need to identify all the conditions under which animations need to play out and set m_updateCount appropriately in SP.HandleAgentUpdate()
* refactor: Use just ScenePresenceAnimator.CurrentMovementAnimation rather ↵Justin Clark-Casey (justincc)2011-12-031-14/+12
| | | | than duplicating it with m_movementAnimation
* Rename ScenePresenceAnimator.GetMovementAnimation() -> ↵Justin Clark-Casey (justincc)2011-12-031-3/+8
| | | | DetermineMovementAnimation() for better code readability
* Stop SP.HandleAgentUpdate() and PhysicsCollisionUpdate() from being ↵Justin Clark-Casey (justincc)2011-12-031-8/+6
| | | | | | | processed if we're dealing with a child ScenePresence. Neither of these can have any effect on child agents Now leaving warning about trying to set animation on a child agent active. Might temporarily pop up now and again.
* Stop some places where we're trying to reset animations in child agents ↵Justin Clark-Casey (justincc)2011-12-021-1/+12
| | | | where such requests are ignored.
* Fix turn left and turn right properly. Works for both built-ins and LSL AOsMelanie2011-11-101-6/+11
|
* Remove some left over debug and reverse experimental reordering of ifsMelanie2011-11-051-4/+2
|
* Porting the ScenePresenceAnimator from Avination. Jump and fall anims now workMelanie2011-11-051-86/+131
| | | | properly.
* Animation-States Turning Left, Turning Right implemented/enabledPixel Tomsen2011-10-041-2/+6
| | | | http://opensimulator.org/mantis/view.php?id=3036
* Get NPCs to revert to the correct 'resting' animation (e.g. stand or hover) ↵Justin Clark-Casey (justincc)2011-08-111-2/+8
| | | | | | after finishing their movement. This also fixes judder after an avatar has finished "go here"/autopilot movement in a viewer. This meant reseting the SP.AgentControlFlags since the Animator uses these to determine the correct default animation.
* Improve z axis move to/autopilot so the avatar does alternative ↵Justin Clark-Casey (justincc)2011-08-031-1/+7
| | | | | | crouch/huzzah when walking along the ground Moving a flying avatar to a ground point doesn't yet land the avatar. This may or may not be the best thing
* Implement move to/autopilot for z axis movement as well.Justin Clark-Casey (justincc)2011-08-031-2/+2
| | | | This is jerky (an artifact of the way it's being done, I think), but it's better than on implementation.
* This seems to get rid of the stuck PREJUMP animation, as reported by Justin ↵Diva Canto2010-12-131-1/+8
| | | | in -dev. Also in this commit, a slight adjustment to the Velocity of SP -- this makes the avie walking feel less jerky for me. Will wait reports from others.
* Fixes the nudge movements!Diva Canto2010-12-111-10/+1
|
* Correct some script constants.Melanie2010-08-061-1/+1
|
* Reduce number of AvatarAnimations sent with large number of avatarsRobert Adams2010-04-131-6/+7
|
* Changed asset CreatorID to a stringJohn Hurliman2010-02-221-1/+1
|
* * Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2010-02-221-1/+1
| | | | CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
* Revolution is on the roll again! :)Revolution2010-02-141-8/+5
| | | | | | | | Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
* * Fixes Sitting on the ground.Teravus Ovares (Dan Olivares)2009-12-301-1/+4
|
* * Makes forward and backward key reactions faster by responding to the NUDGE ↵Teravus Ovares (Dan Olivares)2009-12-301-1/+2
| | | | type movements.
* * Bugfix mantis 4441, "Use of Autopilot isn't playing any animations."Teravus Ovares (Dan Olivares)2009-12-121-1/+1
| | | | * Turns out the new animator used a different movement bitflag then the one used in the code to autopilot the avatar
* * Fix Inconsistent line ending style on ScenePresenceAnimatorTeravus Ovares (Dan Olivares)2009-12-011-3/+3
|
* * Add a close method to the ScenePresenceAnimator that dereferences the ↵Teravus Ovares (Dan Olivares)2009-11-301-0/+6
| | | | class variables and make the ScenePresence Close method call it.
* Patch: Fix a bug in LAND animation when the TickCount wraps into negative ↵OpenSim Master2009-11-251-2/+1
| | | | | | | numbers by Mic Bowman Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
* * Reverting last commit.. because it just made it worse.Teravus Ovares (Dan Olivares)2009-11-251-6/+0
|
* * Attempt number 1 to stop the repeating crouch animation that sometimes ↵Teravus Ovares (Dan Olivares)2009-11-251-0/+6
| | | | | | | happens. * This tries to address it by correcting one potential bug where it never resets the falltimer. * This tries to address it by telling Physics that we're not flying this step.. instead of waiting until the next step when the next agent update comes along.
* Formatting cleanup.Jeff Ames2009-11-231-11/+11
|
* refactor: move AvatarAnimations, BinBVHAnimationJustin Clark-Casey (justincc)2009-11-171-0/+60
|
* refactor: move most animation methods from ScenePresence into a new ↵Justin Clark-Casey (justincc)2009-11-171-0/+388
ScenePresenceAnimator class