A function to save back rezzed object into its rezzer's inventory without having to derez
tracked
Rohacan Hirons
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
Log In
Spidey Linden
updated the status to
tracked
Issue tracked. We have no estimate when it may be implemented. Please see future updates here.
OdessaDraekavik Resident
I’d really like to see this feature added. The current process of derezzing and re-rezzing objects just to update the version in a rezzer works, but it’s a bit of a hassle... especially during development.
Every time I make a small change, I lose my place in the script, have to reopen everything, and manually save it back to the rezzer. It breaks the workflow.
Having something like llUpdateInventoryObject(key) would make things way more efficient, especially for setups where one object is used in multiple places and needs to be kept in sync. Automating that update process would be a big quality-of-life improvement for a lot of creators.