aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Animation (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow default animation to be stopped to be replaced with another one.Melanie2012-10-042-16/+29
| | | | Fixes Mantis #6327
* Merge branch 'master' into careminsterMelanie2012-07-201-7/+1
|\ | | | | | | | | | | | | Conflicts: OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs
| * 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.
* | Merge branch 'avination' into careminsterMelanie2012-05-131-2/+18
|\ \ | |/ |/|
| * ªTEST MESS* reduce animation packets send. Added onchangeanim event with ↵UbitUmarov2012-05-121-2/+18
| | | | | | | | parameters to define if to add or remove, and if to send anims pack on that evocation, etc
| * Revert "*TO TEST/REVIEW* added current default animation in animationSet.cs ↵Melanie2012-05-041-10/+3
| | | | | | | | | | | | to/fromArray in array element 0. This may cause compatibilities issues, but think this information is needed for proper crossings. OSG regions did survived tps in/out with this. ALso added velocity in crossings cases, for now detected by Teleport flag equal to Default (0);" This reverts commit 12c9916193bbb87aaa95407f798c241cbe5e23cb.
| * *TO TEST/REVIEW* added current default animation in animationSet.cs ↵UbitUmarov2012-05-041-3/+10
| | | | | | | | to/fromArray in array element 0. This may cause compatibilities issues, but think this information is needed for proper crossings. OSG regions did survived tps in/out with this. ALso added velocity in crossings cases, for now detected by Teleport flag equal to Default (0);
* | 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-223-6/+6
| | | | 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-213-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").
* 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-173-0/+766
|
* refactor: move AnimationSetJustin Clark-Casey (justincc)2009-11-171-0/+185
|
* refactor: move most animation methods from ScenePresence into a new ↵Justin Clark-Casey (justincc)2009-11-171-0/+388
ScenePresenceAnimator class