aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Animation (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang5-153/+531
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel4-31/+201
2013-01-25Restore previous client AO behaviour by not allowing them to remove the ↵Justin Clark-Casey (justincc)2-5/+24
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.
2013-01-25Add "debug set set animations true|false" region console command.Justin Clark-Casey (justincc)1-5/+28
Setting this logs extra information about animation add/remove, such as uuid and animation name Unfortunately cannot be done per client yet
2012-12-14minor: Add commented out log lines to ScenePresenceAnimator for future debug ↵Justin Clark-Casey (justincc)1-1/+10
use (such as logging anim pack contents sent to clients)
2012-10-30Store and send the current movement animation state to a new sim on crossingMelanie1-0/+11
2012-10-26Separate LSL's notion of the default anim from the actually playing anims.Melanie1-2/+4
2012-10-26Revert "Fix for Mantis 0006376: Avatar no longer show Walking animation when ↵Melanie1-1/+1
any AO hud is" This reverts commit fa484c3494a7190b4d7526094347be74d091e125.
2012-10-25Fix for Mantis 0006376: Avatar no longer show Walking animation when any AO ↵nebadon1-1/+1
hud is loaded. Thank you tglion
2012-10-04Allow default animation to be stopped to be replaced with another one.Melanie2-16/+29
Fixes Mantis #6327
2012-07-19Stop explicitly closing and nulling out Animator in order to prevent NREs in ↵Justin Clark-Casey (justincc)1-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.
2012-04-27Fixed: custom walking animations didn't stop when the avatar stopped walking.Oren Hurvitz1-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.
2012-03-23Fix bug in ScenePresenceAnimator.RemoveAnimation() introduced in commit 1a8769eJustin Clark-Casey (justincc)1-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.
2012-03-22refactor: Rename AvatarAnimations -> DefaultAvatarAnimations for code ↵Justin Clark-Casey (justincc)3-6/+6
clarity since non-default animations are handled completely separately from this class
2012-03-21Instead of loading default avatar animations in both SLUtil and ↵Justin Clark-Casey (justincc)3-24/+79
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").
2012-01-07Add method doc to SPA.Falling and use automatic private get propertyJustin Clark-Casey (justincc)1-13/+14
2012-01-07Fix bug where tapping home to stop falling would stop any avatar movement ↵Justin Clark-Casey (justincc)1-7/+6
other than falling again. Addresses http://opensimulator.org/mantis/view.php?id=5839
2011-12-08minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2011-12-03For now, disable mechanism to limit avatar animation updates since this ↵Justin Clark-Casey (justincc)1-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()
2011-12-03refactor: Use just ScenePresenceAnimator.CurrentMovementAnimation rather ↵Justin Clark-Casey (justincc)1-14/+12
than duplicating it with m_movementAnimation
2011-12-03Rename ScenePresenceAnimator.GetMovementAnimation() -> ↵Justin Clark-Casey (justincc)1-3/+8
DetermineMovementAnimation() for better code readability
2011-12-03Stop SP.HandleAgentUpdate() and PhysicsCollisionUpdate() from being ↵Justin Clark-Casey (justincc)1-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.
2011-12-02Stop some places where we're trying to reset animations in child agents ↵Justin Clark-Casey (justincc)1-1/+12
where such requests are ignored.
2011-11-10Fix turn left and turn right properly. Works for both built-ins and LSL AOsMelanie1-6/+11
2011-11-05Remove some left over debug and reverse experimental reordering of ifsMelanie1-4/+2
2011-11-05Porting the ScenePresenceAnimator from Avination. Jump and fall anims now workMelanie1-86/+131
properly.
2011-10-04Animation-States Turning Left, Turning Right implemented/enabledPixel Tomsen1-2/+6
http://opensimulator.org/mantis/view.php?id=3036
2011-08-11Get NPCs to revert to the correct 'resting' animation (e.g. stand or hover) ↵Justin Clark-Casey (justincc)1-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.
2011-08-03Improve z axis move to/autopilot so the avatar does alternative ↵Justin Clark-Casey (justincc)1-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
2011-08-03Implement move to/autopilot for z axis movement as well.Justin Clark-Casey (justincc)1-2/+2
This is jerky (an artifact of the way it's being done, I think), but it's better than on implementation.
2010-12-13This seems to get rid of the stuck PREJUMP animation, as reported by Justin ↵Diva Canto1-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.
2010-12-11Fixes the nudge movements!Diva Canto1-10/+1
2010-08-06Correct some script constants.Melanie1-1/+1
2010-04-13Reduce number of AvatarAnimations sent with large number of avatarsRobert Adams1-6/+7
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-1/+1
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-1/+1
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-02-14Revolution is on the roll again! :)Revolution1-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>
2009-12-30* Fixes Sitting on the ground.Teravus Ovares (Dan Olivares)1-1/+4
2009-12-30* Makes forward and backward key reactions faster by responding to the NUDGE ↵Teravus Ovares (Dan Olivares)1-1/+2
type movements.
2009-12-12* Bugfix mantis 4441, "Use of Autopilot isn't playing any animations."Teravus Ovares (Dan Olivares)1-1/+1
* Turns out the new animator used a different movement bitflag then the one used in the code to autopilot the avatar
2009-12-01* Fix Inconsistent line ending style on ScenePresenceAnimatorTeravus Ovares (Dan Olivares)1-3/+3
2009-11-30* Add a close method to the ScenePresenceAnimator that dereferences the ↵Teravus Ovares (Dan Olivares)1-0/+6
class variables and make the ScenePresence Close method call it.
2009-11-25Patch: Fix a bug in LAND animation when the TickCount wraps into negative ↵OpenSim Master1-2/+1
numbers by Mic Bowman Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
2009-11-25* Reverting last commit.. because it just made it worse.Teravus Ovares (Dan Olivares)1-6/+0
2009-11-25* Attempt number 1 to stop the repeating crouch animation that sometimes ↵Teravus Ovares (Dan Olivares)1-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.
2009-11-23Formatting cleanup.Jeff Ames1-11/+11
2009-11-17refactor: move AvatarAnimations, BinBVHAnimationJustin Clark-Casey (justincc)3-0/+766
2009-11-17refactor: move AnimationSetJustin Clark-Casey (justincc)1-0/+185
2009-11-17refactor: move most animation methods from ScenePresence into a new ↵Justin Clark-Casey (justincc)1-0/+388
ScenePresenceAnimator class