Difference between revisions of "TEXTURE PLYWOOD"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 20: Line 20:
|events
|events
|history=
|history=
Introduced in {{SVN|543|rev=87341|branch=Release|ver=1.20.6|anchor=file35}}
*{{SVN|543|ver=1.20.7|anchor=file35}} - Introduction
*{{SVN|627|ver=1.20.10|anchor=file3}} - Value of '''TEXTURE_DEFAULT''' changed from [[TEXTURE_MEDIA|"8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"]] to "89556747-24cb-43ed-920b-47caed15465f"
|issues=
|issues=
{{LSL Bug|VWR-7315|[[TEXTURE_DEFAULT]] is a bad constant name|status=fixed}}
{{LSL Bug|VWR-7315|[[TEXTURE_DEFAULT]] is a bad constant name|status=fixed}}

Revision as of 16:57, 9 June 2008

Description

Constant: string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f";

The string constant TEXTURE_PLYWOOD has the value "89556747-24cb-43ed-920b-47caed15465f"

UUID for the default "Plywood" texture

Constant: string TEXTURE_DEFAULT = "89556747-24cb-43ed-920b-47caed15465f";

The string constant TEXTURE_DEFAULT also has the value "89556747-24cb-43ed-920b-47caed15465f"

It can be used just like TEXTURE_PLYWOOD.

Related Articles

Notes

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.

Deep Notes

History

All Issues

~ Search JIRA for related Issues
   TEXTURE_DEFAULT is a bad constant name!

Signature

string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f";