Implement native RLV callback service integration (#80)
Some checks failed
Native code generation / deterministic (push) Failing after 8m21s
Imaging and meshing gate / native (push) Failing after 4m52s
Native Rust workspace compile / compile (push) Failing after 7m14s

This commit is contained in:
2026-08-11 01:00:48 +00:00
parent 362fa62059
commit 2f1c15c081
18 changed files with 2687 additions and 624 deletions

View File

@@ -59,7 +59,11 @@ fn run(command: &str, setup: Setup, sender_item: bool) -> Vec<Guid> {
);
}
match setup {
Setup::NoStripItem | Setup::PointNoStrip | Setup::WearableNoStrip => {
Setup::NoStripItem
| Setup::PointNoStrip
| Setup::PointLink
| Setup::WearableNoStrip
| Setup::WearableLink => {
tree.happy_shirt.set_name("nostrip Happy Shirt".into());
}
_ => {}

View File

@@ -259,8 +259,9 @@ fn notify_inventory_offer() {
}
fn report_sit_and_unsit(h: &RlvHarness) {
block_on(h.service.report_sit(Some(Some(guid(ITEM_3))), None)).unwrap();
block_on(h.service.report_unsit(Some(Some(guid(ITEM_3))), None)).unwrap();
let sit_target = guid("11111111-1111-4111-8111-111111111111");
block_on(h.service.report_sit(Some(Some(sit_target)), None)).unwrap();
block_on(h.service.report_unsit(Some(Some(sit_target)), None)).unwrap();
block_on(h.service.report_sit(None, None)).unwrap();
block_on(h.service.report_unsit(None, None)).unwrap();
}

View File

@@ -15,6 +15,7 @@ enum Setup {
PartySpine,
PartyChin,
BusinessPelvis,
BusinessPelvisPrim1,
BusinessChin,
BusinessChest,
RetroPants,
@@ -65,6 +66,12 @@ fn apply_setup(tree: &mut SampleInventoryTree, setup: Setup) {
tree.business_pants
.set_attached_prim_id(Some(Some(guid(PRIM_3))));
}
Setup::BusinessPelvisPrim1 => {
tree.business_pants
.set_attached_to(Some(Some(RlvAttachmentPoint::Pelvis)));
tree.business_pants
.set_attached_prim_id(Some(Some(guid(PRIM_1))));
}
Setup::BusinessChin => {
tree.business_pants
.set_attached_to(Some(Some(RlvAttachmentPoint::Chin)));
@@ -333,7 +340,7 @@ fn attach_this_not_recursive() {
assert!(folder_case_matches(
"@attachthis=n",
Some((PRIM_1, "Business Pants (Pelvis)")),
Setup::BusinessPelvis,
Setup::BusinessPelvisPrim1,
LockMode::Attach,
CLOTHING_LOCKED,
&[FolderKey::Clothing],