|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
The string constant TEXTURE_PLYWOOD has the value "89556747-24cb-43ed-920b-47caed15465f"
UUID for the default "Plywood" texture
The string constant TEXTURE_DEFAULT also has the value "89556747-24cb-43ed-920b-47caed15465f"
It can be used just like TEXTURE_PLYWOOD.
Like any LSO string constants longer then 3 characters and used in multiple places in the code, they should be stored in a global variable. The result will be a considerable memory savings. This does not apply to scripts compiled with Mono. See LSL Constants vs Globals for more information about this and examples.
Since TEXTURE_DEFAULT and TEXTURE_PLYWOOD share the same value, they are interchangeable.
SVN:543 r Branch:Release- Introduction SVN:627 r Branch:Release- Value of TEXTURE_DEFAULT changed from "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361" to "89556747-24cb-43ed-920b-47caed15465f"
- Date of Release 24/07/2008
All Issues~ Search JIRA for related Issues
|VWR-7315||A||TEXTURE_DEFAULT is a bad constant name|
string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f"; string TEXTURE_DEFAULT = "89556747-24cb-43ed-920b-47caed15465f";