Currently we can use llDerezObject(object_key, DEREZ_TO_INVENTORY) to update the object in the rezzer, it would be very nice to have something similar but without the derez part, maybe something like:
llUpdateInventoryObject(key object_id);
My actual use case: I'm working on a single mesh object that should have an updated copy linked to multiple other objects when I decide to make the update. Right now:
  • the object is derez by its rezzer
  • the rezzer rez back a first copy to replace the one that just been derezzed
  • the rezzer rez multiple other copies that will do their jobs. (link itself to its target, do some stuff, break link and derezz itself)
It is working fine BUT.. the script I was working on no longer exists. I have to close it, select the new copy and open the script in it. Find back the lines where I was editiing.
I know this is a very particular use case but I'm pretty sure we will find other use cases once we know this is possible.
Precisions about my personnal use case:
  • You my think I only need a single object to do this kind of job but the fact is that my object is transfering its LSD data to each other objects, this can only be done once because on unlink it loses its LSD data.
  • I know I can manually save a copy into rezzer's inventory using the viewer top menu "Build" > "Object" > "Save back to object contents" but the point here is to use a script capability to automate everything that can be automated