Difference between revisions of "TEXTURE PLYWOOD"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{LSL_Constant/string}}
{{LSL Constant
{{LSL Constant
|inject-2={{LSL_Constant/string}}{{Issues/VWR-7315}}
|name=TEXTURE_PLYWOOD
|name=TEXTURE_PLYWOOD
|type=string
|value="89556747-24cb-43ed-920b-47caed15465f"
|value="89556747-24cb-43ed-920b-47caed15465f"
|desc=UUID for the default "Plywood" texture
|desc=UUID for the default "Plywood" texture
|signature=string TEXTURE_DEFAULT = "89556747-24cb-43ed-920b-47caed15465f";
|pa={{SpecialBox|1=Constant: [[string]] TEXTURE_DEFAULT = "89556747-24cb-43ed-920b-47caed15465f";|3=The string constant TEXTURE_DEFAULT also has the value "89556747-24cb-43ed-920b-47caed15465f"
|pa={{SpecialBox|1=Constant: [[string]] TEXTURE_DEFAULT = "89556747-24cb-43ed-920b-47caed15465f";|3=The string constant TEXTURE_DEFAULT also has the value "89556747-24cb-43ed-920b-47caed15465f"


It can be used just like TEXTURE_PLYWOOD.}}
It can be used just like TEXTURE_PLYWOOD.}}
|examples
|examples
|notes
|notes=Since TEXTURE_DEFAULT and TEXTURE_PLYWOOD share the same value, they are interchangeable.
|constants=
|constants=
{{LSL ConstRow|TEXTURE_BLANK}}
{{LSL ConstRow|TEXTURE_BLANK}}
Line 19: Line 21:
|events
|events
|history=
|history=
*{{SVN|543|ver=1.20.7|anchor=file35}} - Introduction
*{{SVN|543|ver=1.20.7|branch=Release|anchor=file35|rev=}} - 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"
*{{SVN|627|ver=1.20.10|branch=Release|anchor=file3|rev=}} - Value of '''TEXTURE_DEFAULT''' changed from [[TEXTURE_MEDIA|"8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"]] to "89556747-24cb-43ed-920b-47caed15465f"
|issues=
* Date of Release  [[ Release_Notes/Second_Life_Release/1.20#Release_Notes_for_Second_Life_1.20.15_Jul_24th.2C_2008 | 24/07/2008 ]]
{{LSL Bug|VWR-7315|[[TEXTURE_DEFAULT]] is a bad constant name|status=fixed}}
|cat1=Key
|cat1=Texture
|cat2=Texture
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Latest revision as of 23:11, 15 January 2014

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.
Since TEXTURE_DEFAULT and TEXTURE_PLYWOOD share the same value, they are interchangeable.

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";
string TEXTURE_DEFAULT = "89556747-24cb-43ed-920b-47caed15465f";