From 800462274fb5119cc9c90807166c68bf1e0d6b35 Mon Sep 17 00:00:00 2001 From: "OpenGenesis (MPL 2.0)" <153564363+opengenesislink@users.noreply.github.com> Date: Thu, 1 Oct 2026 02:29:02 +0200 Subject: [PATCH] NEXJAST: allow PMAC avatar animation OSSL helpers --- bin/config-include/osslEnable.ini | 8 ++++++-- doc/NexVerse/OSSL.md | 7 +++++++ tools/ci/verify_ossl_policy.py | 2 ++ 3 files changed, 15 insertions(+), 2 deletions(-) mode change 100755 => 100644 tools/ci/verify_ossl_policy.py diff --git a/bin/config-include/osslEnable.ini b/bin/config-include/osslEnable.ini index 5876ee36..b7122099 100644 --- a/bin/config-include/osslEnable.ini +++ b/bin/config-include/osslEnable.ini @@ -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 diff --git a/doc/NexVerse/OSSL.md b/doc/NexVerse/OSSL.md index 7b1c7efa..d1138987 100644 --- a/doc/NexVerse/OSSL.md +++ b/doc/NexVerse/OSSL.md @@ -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. diff --git a/tools/ci/verify_ossl_policy.py b/tools/ci/verify_ossl_policy.py old mode 100755 new mode 100644 index aa3d3468..b98de0dd --- a/tools/ci/verify_ossl_policy.py +++ b/tools/ci/verify_ossl_policy.py @@ -68,6 +68,8 @@ compatibility_open_functions = ( "osGetNotecard", "osGetNotecardLine", "osGetNumberOfNotecardLines", + "osAvatarPlayAnimation", + "osAvatarStopAnimation", ) for name in compatibility_open_functions: effective = rules.get(name, "")