diff options
author | UbitUmarov | 2013-01-02 19:39:46 +0000 |
---|---|---|
committer | UbitUmarov | 2013-01-02 19:39:46 +0000 |
commit | 7980a1d8496b71e46eeead7d77382cd10ac9fa78 (patch) | |
tree | a56fbe3ffc665efcdf54c35573fdd100d96357d4 /OpenSim/Region/Framework | |
parent | Merge branch 'ubitwork' into avination (diff) | |
download | opensim-SC-7980a1d8496b71e46eeead7d77382cd10ac9fa78.zip opensim-SC-7980a1d8496b71e46eeead7d77382cd10ac9fa78.tar.gz opensim-SC-7980a1d8496b71e46eeead7d77382cd10ac9fa78.tar.bz2 opensim-SC-7980a1d8496b71e46eeead7d77382cd10ac9fa78.tar.xz |
*TEST* avatar unscripted sit. Some guessing/automation
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 85f4ee5..2a39ffd 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2280,8 +2280,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2280 | 2280 | ||
2281 | ParentPart = part; | 2281 | ParentPart = part; |
2282 | ParentID = part.LocalId; | 2282 | ParentID = part.LocalId; |
2283 | 2283 | if(status == 3) | |
2284 | Animator.TrySetMovementAnimation("SIT"); | 2284 | Animator.TrySetMovementAnimation("SIT_GROUND"); |
2285 | else | ||
2286 | Animator.TrySetMovementAnimation("SIT"); | ||
2285 | SendAvatarDataToAllAgents(); | 2287 | SendAvatarDataToAllAgents(); |
2286 | 2288 | ||
2287 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); | 2289 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); |