llGetTexture is broken?
|
Lulu Ludovico
Registered User
Join date: 24 Jan 2005
Posts: 27
|
05-17-2005 21:23
Hi,
Up to a few days ago, llGetTexture works in an object that is NOT in inventory. Now, any attempt to use llGetTexture returns a NULL_KEY, even if there *is* a texture on the prim surface. And yes, I've got the right integer number for the surface too (checked through all surfaces to make sure).
Anyone got any ideas?
Thanks!
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
05-17-2005 23:37
This was an undocumented change - inless the object has full perms - mod/copy/trans - you can't get the key. 
|
Lulu Ludovico
Registered User
Join date: 24 Jan 2005
Posts: 27
|
Thanks!
05-18-2005 02:16
Okay, that really sucks, but thanks!
|
Newfie Pendragon
Crusty and proud of it
Join date: 19 Dec 2003
Posts: 1,025
|
05-18-2005 07:35
From: Jillian Callahan This was an undocumented change - inless the object has full perms - mod/copy/trans - you can't get the key.  It wasn't quite an undocumented change. It was my understanding that this was the intended behaviour of llGetTexture all along, that one could only get it if the texture was full-perms. Recent events though caused it to come to light that there were ways to get the UUID of a texture one did not have full rights to. Once the flaw was identified, the Lindens rapidly put out a patch to close the hole. - Newfie
|
Damanios Thetan
looking in
Join date: 6 Mar 2004
Posts: 992
|
05-18-2005 09:35
From: Newfie Pendragon Recent events though caused it to come to light that there were ways to get the UUID of a texture one did not have full rights to.
This has been known for over a year.
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
05-18-2005 10:35
*grumble grumble grumble* Fair Use *grumble grumble grumble*
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Damanios Thetan
looking in
Join date: 6 Mar 2004
Posts: 992
|
05-18-2005 11:50
llGetTexture() no longer returns keys of textures in non full perms objects llGetPrimitiveParams() has the same effect. Don't try to solve with using textures in inventory: llInventoryKey() will no longer return texture keys of non full perms textures in inventory. Basically this only leaves hardcoding ALL texture changes. So much for clean code or flexibility. 
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
05-18-2005 16:32
Oh this also means that data can no longer be perminantly stored on prim faces, because it is inexcessible. Great just what we need WOM (Write Only Memory).
One step forward, two steps back.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
05-19-2005 09:00
First reported case of broken product: /54/39/47233/1.html
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Synergy Belvedere
Prim Reaper
Join date: 7 Jul 2004
Posts: 253
|
05-19-2005 10:35
Thx for postin that Strife. 
_____________________
---------------------------------------------------------- --The mind's eye is limited only by its focus--
|
Damanios Thetan
looking in
Join date: 6 Mar 2004
Posts: 992
|
05-19-2005 19:28
|