Hello
I'm doing an installer, an object rezzed from a worn attachment, to be able to drop content inthe installer, which then can copy it's content into the initial attachment.
The installer to rez is in the root prim of the attachment, as well as the script used to rez it.
All is for the same owner (the avatar on which it's attached)
The content is copied to a child link of the attachment (key sent to the installer via after-rez handshake)
Content to copy are textures.
Although all belong to the same owner, I have issues with textures not having the transfer perm. I get a Debug window error listing items that couldn't be copied.
Here is the piece of code doing the copy:
count = llGetInventoryNumber(INVENTORY_TEXTURE);
if (count) {
list copy;
for (i = 0; i < count; ++i) {
name = llGetInventoryName(INVENTORY_TEXTURE, i);
if (PERM_COPY & llGetInventoryPermMask(name, MASK_OWNER)) {
copy += name;
}
}
if ([] == copy) {
llOwnerSay("No copiable item found.");
}
else {
llGiveInventoryList(sendTo, llGetObjectName(), copy);
}
}
So as the owner does not change, why I get this issue, and how to fix it?
Cheers