mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
*TEST* avatar unscripted sit. Some guessing/automation
This commit is contained in:
@@ -2280,8 +2280,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
ParentPart = part;
|
||||
ParentID = part.LocalId;
|
||||
|
||||
Animator.TrySetMovementAnimation("SIT");
|
||||
if(status == 3)
|
||||
Animator.TrySetMovementAnimation("SIT_GROUND");
|
||||
else
|
||||
Animator.TrySetMovementAnimation("SIT");
|
||||
SendAvatarDataToAllAgents();
|
||||
|
||||
part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK);
|
||||
|
||||
Reference in New Issue
Block a user