NEXJAST: allow PMAC avatar animation OSSL helpers
This commit is contained in:
1 parent
ef94cd0996
commit
800462274f
3 files changed
+15
-2
No files matched your search
@@ -33,8 +33,12 @@
|
||||
; NexVerse enables them, but keeps force operations restricted.
|
||||
; ---------------------------------------------------------------------------
|
||||
|
||||
Allow_osAvatarPlayAnimation = ESTATE_MANAGER,ESTATE_OWNER
|
||||
Allow_osAvatarStopAnimation = ESTATE_MANAGER,ESTATE_OWNER
|
||||
; PMAC and other established pose systems need to start/stop animations on
|
||||
; participating avatars without requiring estate ownership. These two
|
||||
; animation helpers are therefore grid-wide. The actual force-attach/sit
|
||||
; functions below remain restricted to trusted estate roles.
|
||||
Allow_osAvatarPlayAnimation = true
|
||||
Allow_osAvatarStopAnimation = true
|
||||
Allow_osForceAttachToOtherAvatarFromInventory = ESTATE_MANAGER,ESTATE_OWNER
|
||||
Allow_osForceDetachFromAvatar = ESTATE_MANAGER,ESTATE_OWNER
|
||||
Allow_osForceOtherSit = ESTATE_MANAGER,ESTATE_OWNER
|
||||
|
||||
@@ -85,3 +85,10 @@ NexVerse deliberately exposes the three read-only synchronous notecard helpers t
|
||||
Upstream defaults classify these as VeryHigh and restrict them to estate roles because synchronous asset reads can be expensive. That restriction breaks established OpenSim products such as PMAC 2.x when their owner is not an estate manager. NexVerse therefore overrides all three to `true`.
|
||||
|
||||
Administrative, force-avatar and console functions remain role-restricted. CI explicitly verifies that the notecard compatibility functions stay globally enabled.
|
||||
|
||||
|
||||
## Pose-system animation compatibility
|
||||
|
||||
NexVerse exposes `osAvatarPlayAnimation` and `osAvatarStopAnimation` to ordinary scripts. This is required by established pose systems such as PMAC 2.x, which animate avatars using OSSL after the avatar participates in the pose system.
|
||||
|
||||
This exception applies only to the animation start/stop helpers. Higher-impact force operations such as forced attachment, forced detach and forced sit remain restricted to trusted estate roles.
|
||||
Executable → Regular
+2
@@ -68,6 +68,8 @@ compatibility_open_functions = (
|
||||
"osGetNotecard",
|
||||
"osGetNotecardLine",
|
||||
"osGetNumberOfNotecardLines",
|
||||
"osAvatarPlayAnimation",
|
||||
"osAvatarStopAnimation",
|
||||
)
|
||||
for name in compatibility_open_functions:
|
||||
effective = rules.get(name, "")
|
||||
|
||||
Reference in new issue
Block a user