[Opensim-users] Can I rely on consistent UUIDs for things imported from different grids using IAR/OAR files?

Justin Clark-Casey jjustincc at googlemail.com
Tue Mar 27 01:49:32 UTC 2012


On 27/03/12 01:16, Edmund Edgar wrote:
> On 27 March 2012 02:45, Jeff Kelley<opensim at pescadoo.net>  wrote:
>> Since you put the textures into the object's inventory, why not :
>>
>> FontTexture = llGetInventoryKey(texture_name);
>
> Thanks Jeff, that was my fallback plan.
>
> But I'd rather use the UUIDs if I can do it reliably because:
> 1) It makes the script simpler.
> 2) If more than one of the object is rezzed on the same grid, I'm
> hoping using the same UUIDs for all of them will allow the textures to
> be cached in the viewer, so they'll load faster the second time a user
> encounters the object.

If assets already exist with those UUIDs then the existing assets will not be replaced which would make things look 
rather odd.

In general, you can't rely on any asset UUIDs being the same apart from the default ones.

-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc



More information about the Opensim-users mailing list