summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r--indra/newview/app_settings/anim.ini85
-rw-r--r--indra/newview/app_settings/commands.xml10
-rw-r--r--indra/newview/app_settings/keywords_lsl_default.xml499
-rw-r--r--indra/newview/app_settings/settings.xml255
-rw-r--r--indra/newview/app_settings/settings_per_account.xml19
-rw-r--r--indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl31
-rw-r--r--indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskNonIndexedF.glsl4
7 files changed, 612 insertions, 291 deletions
diff --git a/indra/newview/app_settings/anim.ini b/indra/newview/app_settings/anim.ini
index 63c84e544d..c24d2749ef 100644
--- a/indra/newview/app_settings/anim.ini
+++ b/indra/newview/app_settings/anim.ini
@@ -1,87 +1,2 @@
Translations 1.0
-[hip]
- relativepos = firstkey
- relativerot = firstkey
- outname = mPelvis
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[abdomen]
- outname = mTorso
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[chest]
- outname = mChest
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[neckDummy]
- ignore = true
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[neck]
- outname = mNeck
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[head]
- outname = mHead
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[figureHair]
- ignore = true
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[lCollar]
- outname = mCollarLeft
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[lShldr]
- outname = mShoulderLeft
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[lForeArm]
- outname = mElbowLeft
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[lHand]
- outname = mWristLeft
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[rCollar]
- outname = mCollarRight
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[rShldr]
- outname = mShoulderRight
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[rForeArm]
- outname = mElbowRight
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[rHand]
- outname = mWristRight
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[lThigh]
- outname = mHipLeft
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[lShin]
- outname = mKneeLeft
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[lFoot]
- outname = mAnkleLeft
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[rThigh]
- outname = mHipRight
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[rShin]
- outname = mKneeRight
- frame = 0 1 0, 0 0 1, 1 0 0
-
-[rFoot]
- outname = mAnkleRight
- frame = 0 1 0, 0 0 1, 1 0 0 \ No newline at end of file
diff --git a/indra/newview/app_settings/commands.xml b/indra/newview/app_settings/commands.xml
index a0d3dc0f99..9bc0a7c701 100644
--- a/indra/newview/app_settings/commands.xml
+++ b/indra/newview/app_settings/commands.xml
@@ -282,4 +282,14 @@
is_running_function="Floater.IsOpen"
is_running_parameters="camera"
/>
+ <command name="reporter"
+ available_in_toybox="true"
+ icon="Command_Report_Abuse_Icon"
+ label_ref="Command_Report_Abuse_Label"
+ tooltip_ref="Command_Report_Abuse_Tooltip"
+ execute_function="Floater.ToggleOrBringToFront"
+ execute_parameters="reporter"
+ is_running_function="Floater.IsOpen"
+ is_running_parameters="reporter"
+ />
</commands>
diff --git a/indra/newview/app_settings/keywords_lsl_default.xml b/indra/newview/app_settings/keywords_lsl_default.xml
index ddd287faf4..d641883d5a 100644
--- a/indra/newview/app_settings/keywords_lsl_default.xml
+++ b/indra/newview/app_settings/keywords_lsl_default.xml
@@ -528,7 +528,7 @@
<key>type</key>
<string>integer</string>
<key>value</key>
- <integer>27</integer>
+ <integer>26</integer>
<key>tooltip</key>
<string>Attach to the avatar's lower upper leg.</string>
</map>
@@ -678,6 +678,141 @@
<key>tooltip</key>
<string>Attach to the avatar's right upper leg.</string>
</map>
+ <key>ATTACH_LHAND_RING1</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>41</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's left ring finger.</string>
+ </map>
+ <key>ATTACH_RHAND_RING1</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>42</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's right ring finger.</string>
+ </map>
+ <key>ATTACH_TAIL_BASE</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>43</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's tail base.</string>
+ </map>
+ <key>ATTACH_TAIL_TIP</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>44</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's tail tip.</string>
+ </map>
+ <key>ATTACH_LWING</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>45</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's left wing.</string>
+ </map>
+ <key>ATTACH_RWING</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>46</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's right wing.</string>
+ </map>
+ <key>ATTACH_FACE_JAW</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>47</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's jaw.</string>
+ </map>
+ <key>ATTACH_FACE_LEAR</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>48</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's left ear (extended).</string>
+ </map>
+ <key>ATTACH_FACE_REAR</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>49</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's right ear (extended).</string>
+ </map>
+ <key>ATTACH_FACE_LEYE</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>50</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's left eye (extended).</string>
+ </map>
+ <key>ATTACH_FACE_REYE</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>51</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's right eye (extended).</string>
+ </map>
+ <key>ATTACH_FACE_TONGUE</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>52</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's tongue.</string>
+ </map>
+ <key>ATTACH_GROIN</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>53</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's groin.</string>
+ </map>
+ <key>ATTACH_HIND_LFOOT</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>54</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's left hind foot.</string>
+ </map>
+ <key>ATTACH_HIND_RFOOT</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>55</integer>
+ <key>tooltip</key>
+ <string>Attach to the avatar's right hind foot.</string>
+ </map>
<key>AVOID_CHARACTERS</key>
<map>
<key>type</key>
@@ -809,7 +944,7 @@
<key>type</key>
<string>integer</string>
<key>value</key>
- <integer>6</integer>
+ <integer>5</integer>
<key>tooltip</key>
<string/>
</map>
@@ -818,7 +953,7 @@
<key>type</key>
<string>integer</string>
<key>value</key>
- <integer>22</integer>
+ <integer>21</integer>
<key>tooltip</key>
<string/>
</map>
@@ -872,7 +1007,7 @@
<key>type</key>
<string>integer</string>
<key>value</key>
- <integer>2048</integer>
+ <string>0x800</string>
<key>tooltip</key>
<string/>
</map>
@@ -1463,9 +1598,9 @@
<key>type</key>
<string>float</string>
<key>value</key>
- <real>0.01745329</real>
+ <real>0.017453293</real>
<key>tooltip</key>
- <string>0.01745329 - Number of radians per degree.
+ <string>0.017453293 - Number of radians per degree.
You can use this to convert degrees to radians by multiplying the degrees by this number.</string>
</map>
<key>DENSITY</key>
@@ -1482,7 +1617,7 @@
<key>type</key>
<string>string</string>
<key>value</key>
- <string>0x0A0x0A0x0A</string>
+ <string>\\n\\n\\n</string>
<key>tooltip</key>
<string>Indicates the last line of a notecard was read.</string>
</map>
@@ -2299,7 +2434,7 @@
<key>NULL_KEY</key>
<map>
<key>type</key>
- <string>key</string>
+ <string>string</string>
<key>value</key>
<uuid>00000000-0000-0000-0000-000000000000</uuid>
<key>tooltip</key>
@@ -2395,6 +2530,15 @@
<key>tooltip</key>
<string>Gets the object's name.</string>
</map>
+ <key>OBJECT_OMEGA</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>29</integer>
+ <key>tooltip</key>
+ <string>Gets an object's angular velocity.</string>
+ </map>
<key>OBJECT_OWNER</key>
<map>
<key>type</key>
@@ -2404,6 +2548,15 @@
<key>tooltip</key>
<string>Gets an object's owner's key. If id is group owned, a NULL_KEY is returned.</string>
</map>
+ <key>OBJECT_PRIM_COUNT</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>30</integer>
+ <key>tooltip</key>
+ <string>Gets the prim count of the object. The script and target object must be owned by the same owner</string>
+ </map>
<key>OBJECT_PATHFINDING_TYPE</key>
<map>
<key>type</key>
@@ -2494,6 +2647,15 @@
<key>tooltip</key>
<string/>
</map>
+ <key>OBJECT_REZZER_KEY</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>32</integer>
+ <key>tooltip</key>
+ <string/>
+ </map>
<key>OBJECT_ROOT</key>
<map>
<key>type</key>
@@ -2566,6 +2728,15 @@
<key>tooltip</key>
<string>Returns boolean, detailing if temporary is enabled or disabled on the object.</string>
</map>
+ <key>OBJECT_TOTAL_INVENTORY_COUNT</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>31</integer>
+ <key>tooltip</key>
+ <string>Gets the total inventory count of the object. The script and target object must be owned by the same owner</string>
+ </map>
<key>OBJECT_TOTAL_SCRIPT_COUNT</key>
<map>
<key>type</key>
@@ -3052,6 +3223,33 @@
<key>tooltip</key>
<string/>
</map>
+ <key>PASS_ALWAYS</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <string>1</string>
+ <key>tooltip</key>
+ <string>Always pass the event.</string>
+ </map>
+ <key>PASS_NEVER</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <string>2</string>
+ <key>tooltip</key>
+ <string>Always pass the event.</string>
+ </map>
+ <key>PASS_IF_NOT_HANDLED</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <string>0</string>
+ <key>tooltip</key>
+ <string>Pass the event if there is no script handling the event in the prim.</string>
+ </map>
<key>PASSIVE</key>
<map>
<key>type</key>
@@ -4387,6 +4585,24 @@
<key>tooltip</key>
<string/>
</map>
+ <key>PSYS_PART_BF_ONE_MINUS_SOURCE_COLOR</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>5</integer>
+ <key>tooltip</key>
+ <string/>
+ </map>
+ <key>PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHA</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>value</key>
+ <integer>9</integer>
+ <key>tooltip</key>
+ <string/>
+ </map>
<key>PSYS_PART_BF_SOURCE_ALPHA</key>
<map>
<key>type</key>
@@ -4536,7 +4752,7 @@
<key>type</key>
<string>integer</string>
<key>value</key>
- <integer>19</integer>
+ <integer>7</integer>
<key>tooltip</key>
<string>Age in seconds of a particle at which it dies.</string>
</map>
@@ -5061,7 +5277,7 @@
<key>type</key>
<string>integer</string>
<key>value</key>
- <integer>2</integer>
+ <integer>0</integer>
<key>tooltip</key>
<string/>
</map>
@@ -5295,7 +5511,7 @@
<key>type</key>
<string>integer</string>
<key>value</key>
- <integer>64</integer>
+ <string>0x40</string>
<key>tooltip</key>
<string>Controls whether the object can be grabbed.\nA grab is the default action when in third person, and is available as the hand tool in build mode. This is useful for physical objects that you don't want other people to be able to trivially disturb. The default is FALSE</string>
</map>
@@ -5304,7 +5520,7 @@
<key>type</key>
<string>integer</string>
<key>value</key>
- <integer>1024</integer>
+ <string>0x400</string>
<key>tooltip</key>
<string>Prevent click-and-drag movement on all prims in the object.</string>
</map>
@@ -5500,7 +5716,7 @@
<key>TEXTURE_BLANK</key>
<map>
<key>type</key>
- <string>key</string>
+ <string>string</string>
<key>value</key>
<uuid>5748decc-f629-461c-9a36-a35a221fe21f</uuid>
<key>tooltip</key>
@@ -5509,7 +5725,7 @@
<key>TEXTURE_DEFAULT</key>
<map>
<key>type</key>
- <string>key</string>
+ <string>string</string>
<key>value</key>
<uuid>89556747-24cb-43ed-920b-47caed15465f</uuid>
<key>tooltip</key>
@@ -5518,7 +5734,7 @@
<key>TEXTURE_MEDIA</key>
<map>
<key>type</key>
- <string>key</string>
+ <string>string</string>
<key>value</key>
<uuid>8b5fec65-8d8d-9dc5-cda8-8fdf2716e361</uuid>
<key>tooltip</key>
@@ -5527,7 +5743,7 @@
<key>TEXTURE_PLYWOOD</key>
<map>
<key>type</key>
- <string>key</string>
+ <string>string</string>
<key>value</key>
<uuid>89556747-24cb-43ed-920b-47caed15465f</uuid>
<key>tooltip</key>
@@ -5536,7 +5752,7 @@
<key>TEXTURE_TRANSPARENT</key>
<map>
<key>type</key>
- <string>key</string>
+ <string>string</string>
<key>value</key>
<uuid>8dcd4a48-2d37-4909-9f78-f7a9eb4ef903</uuid>
<key>tooltip</key>
@@ -5956,7 +6172,7 @@
<key>type</key>
<string>integer</string>
<key>value</key>
- <integer>35</integer>
+ <integer>31</integer>
<key>tooltip</key>
<string>The timescale for exponential decay of the linear motors magnitude.</string>
</map>
@@ -6204,15 +6420,6 @@
<key>tooltip</key>
<string>An attempted write data to the key-value store failed due to the data quota being met.</string>
</map>
- <key>LSL_XP_ERROR_REQUEST_PERM_TIMEOUT</key>
- <map>
- <key>type</key>
- <string>integer</string>
- <key>value</key>
- <integer>18</integer>
- <key>tooltip</key>
- <string>The request for experience permissions was ignored and timed out.</string>
- </map>
<key>XP_ERROR_RETRY_UPDATE</key>
<map>
<key>type</key>
@@ -6562,30 +6769,43 @@
<key>experience_permissions</key>
<map>
<key>arguments</key>
- <map>
- <key>agent_id</key>
- <map>
+ <array>
+ <map>
+ <key>agent_id</key>
+ <map>
<key>type</key>
<string>key</string>
<key>tooltip</key>
<string>ID of the agent approving permission for the Experience.</string>
- </map>
- </map>
+ </map>
+ </map>
+ </array>
</map>
<key>experience_permissions_denied</key>
<map>
<key>arguments</key>
- <map>
- <key>agent_id</key>
- <map>
+ <array>
+ <map>
+ <key>agent_id</key>
+ <map>
<key>type</key>
<string>key</string>
<key>tooltip</key>
<string>ID of the agent denying permission for the Experience.</string>
- </map>
- </map>
+ </map>
+ </map>
+ <map>
+ <key>Reason</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>tooltip</key>
+ <string>One of the XP_ERROR_... constants describing the reason why the Experience permissions were denied for the agent.</string>
+ </map>
+ </map>
+ </array>
<key>tooltip</key>
- <string>One of the XP_ERROR_... constants describing the reason why the Experience permissions were denied for the agent.</string>
+ <string>Describes why the Experience permissions were denied for the agent.</string>
</map>
<key>http_request</key>
<map>
@@ -7281,15 +7501,17 @@
<key>return</key>
<string>integer</string>
<key>arguments</key>
- <map>
- <key>AgentID</key>
- <map>
+ <array>
+ <map>
+ <key>AgentID</key>
+ <map>
<key>type</key>
<string>key</string>
<key>tooltip</key>
<string></string>
- </map>
- </map>
+ </map>
+ </map>
+ </array>
<key>tooltip</key>
<string>
Returns TRUE if the agent is in the Experience and the Experience can run in the current location.
@@ -8035,7 +8257,8 @@
<key>return</key>
<string>key</string>
<key>arguments</key>
- <map>
+ <array>
+ <map>
<key>Key</key>
<map>
<key>type</key>
@@ -8043,6 +8266,8 @@
<key>tooltip</key>
<string></string>
</map>
+ </map>
+ <map>
<key>Value</key>
<map>
<key>type</key>
@@ -8050,7 +8275,8 @@
<key>tooltip</key>
<string></string>
</map>
- </map>
+ </map>
+ </array>
<key>tooltip</key>
<string>
Starts an asychronous transaction to create a key-value pair. Will fail with XP_ERROR_STORAGE_EXCEPTION if the key already exists. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value passed to the function.
@@ -8148,15 +8374,17 @@
<key>return</key>
<string>key</string>
<key>arguments</key>
- <map>
- <key>Key</key>
- <map>
+ <array>
+ <map>
+ <key>Key</key>
+ <map>
<key>type</key>
<string>string</string>
<key>tooltip</key>
<string></string>
- </map>
- </map>
+ </map>
+ </map>
+ </array>
<key>tooltip</key>
<string>
Starts an asychronous transaction to delete a key-value pair. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key.
@@ -9549,15 +9777,17 @@
<key>return</key>
<string>list</string>
<key>arguments</key>
- <map>
- <key>ExperienceID</key>
- <map>
+ <array>
+ <map>
+ <key>ExperienceID</key>
+ <map>
<key>type</key>
<string>key</string>
<key>tooltip</key>
<string>May be NULL_KEY to retrieve the details for the script's Experience</string>
- </map>
- </map>
+ </map>
+ </map>
+ </array>
<key>tooltip</key>
<string>
Returns a list with the following Experience properties: [Experience Name, Owner ID, Group ID, Experience ID, State, State Message]. State is an integer corresponding to one of the constants XP_ERROR_... and State Message is the string returned by llGetExperienceErrorMessage for that integer.
@@ -9572,15 +9802,17 @@
<key>return</key>
<string>string</string>
<key>arguments</key>
- <map>
- <key>Error</key>
- <map>
+ <array>
+ <map>
+ <key>Error</key>
+ <map>
<key>type</key>
<string>integer</string>
<key>tooltip</key>
<string>An Experience error code to translate.</string>
- </map>
- </map>
+ </map>
+ </map>
+ </array>
<key>tooltip</key>
<string>
Returns a string describing the error code passed or the string corresponding with XP_ERROR_UNKNOWN_ERROR if the value is not a valid Experience error code.
@@ -9930,7 +10162,7 @@
<key>Parameters</key>
<map>
<key>type</key>
- <string>integer</string>
+ <string>list</string>
<key>tooltip</key>
<string>A list of PRIM_* property constants to return values of.</string>
</map>
@@ -10021,7 +10253,7 @@
<key>Parameters</key>
<map>
<key>type</key>
- <string>integer</string>
+ <string>list</string>
<key>tooltip</key>
<string>PRIM_* flags.</string>
</map>
@@ -10782,7 +11014,7 @@
<key>sleep</key>
<real>0.0</real>
<key>return</key>
- <string>void</string>
+ <string>float</string>
<key>arguments</key>
<undef/>
<key>tooltip</key>
@@ -11390,7 +11622,7 @@
<key>sleep</key>
<real>0.0</real>
<key>return</key>
- <string>void</string>
+ <string>integer</string>
<key>arguments</key>
<array>
<map>
@@ -11937,22 +12169,26 @@
<key>return</key>
<string>key</string>
<key>arguments</key>
- <map>
- <key>First</key>
- <map>
+ <array>
+ <map>
+ <key>First</key>
+ <map>
<key>type</key>
- <string>string</string>
+ <string>integer</string>
<key>tooltip</key>
<string>Index of the first key to return.</string>
- </map>
- <key>Count</key>
- <map>
+ </map>
+ </map>
+ <map>
+ <key>Count</key>
+ <map>
<key>type</key>
- <string>string</string>
+ <string>integer</string>
<key>tooltip</key>
<string>The number of keys to return.</string>
- </map>
- </map>
+ </map>
+ </map>
+ </array>
<key>tooltip</key>
<string>
Starts an asychronous transaction the request a number of keys from the data store. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. The error XP_ERROR_KEY_NOT_FOUND is returned if First is greater than or equal to the number of keys in the data store. In the success case the subsequent items will be the keys requested. The number of keys returned may be less than requested if the return value is too large or if there is not enough keys remaining. The order keys are returned is not guaranteed but is stable between subsequent calls as long as no keys are added or removed. Because the keys are returned in a comma-delimited list it is not recommended to use commas in key names if this function is used.
@@ -11981,7 +12217,7 @@
<key>Rules</key>
<map>
<key>type</key>
- <string>integer</string>
+ <string>list</string>
<key>tooltip</key>
<string>Particle system rules list in the format [ rule1, data1, rule2, data2 . . . ruleN, dataN ]</string>
</map>
@@ -13142,6 +13378,15 @@
</map>
</map>
<map>
+ <key>Bounce</key>
+ <map>
+ <key>type</key>
+ <string>integer</string>
+ <key>tooltip</key>
+ <string/>
+ </map>
+ </map>
+ <map>
<key>Texture</key>
<map>
<key>type</key>
@@ -13159,6 +13404,15 @@
<string/>
</map>
</map>
+ <map>
+ <key>Bounce_Offset</key>
+ <map>
+ <key>type</key>
+ <string>float</string>
+ <key>tooltip</key>
+ <string/>
+ </map>
+ </map>
</array>
<key>tooltip</key>
<string>Make a fountain of particles. Deprecated: Use llParticleSystem instead.\nMake a fountain of particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.</string>
@@ -13959,7 +14213,7 @@
<key>sleep</key>
<real>0.0</real>
<key>return</key>
- <string>void</string>
+ <string>float</string>
<key>arguments</key>
<array>
<map>
@@ -14098,7 +14352,8 @@
<key>return</key>
<string>key</string>
<key>arguments</key>
- <map>
+ <array>
+ <map>
<key>Key</key>
<map>
<key>type</key>
@@ -14106,7 +14361,8 @@
<key>tooltip</key>
<string></string>
</map>
- </map>
+ </map>
+ </array>
<key>tooltip</key>
<string>
Starts an asychronous transaction to retrieve the value associated with the key given. Will fail with XP_ERROR_KEY_NOT_FOUND if the key does not exist. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key.
@@ -14148,7 +14404,7 @@
<key>Text</key>
<map>
<key>type</key>
- <string>integer</string>
+ <string>string</string>
<key>tooltip</key>
<string>Message to be transmitted.</string>
</map>
@@ -14541,22 +14797,26 @@
<key>return</key>
<string>void</string>
<key>arguments</key>
- <map>
- <key>AvatarID</key>
- <map>
+ <array>
+ <map>
+ <key>AgentID</key>
+ <map>
<key>type</key>
<string>key</string>
<key>tooltip</key>
<string/>
- </map>
- <key>unused</key>
- <map>
+ </map>
+ </map>
+ <map>
+ <key>unused</key>
+ <map>
<key>type</key>
<string>string</string>
<key>tooltip</key>
<string>Not used, should be &quot;&quot;</string>
- </map>
- </map>
+ </map>
+ </map>
+ </array>
<key>tooltip</key>
<string>
Ask the agent for permission to participate in an experience. This request is similar to llRequestPermissions with the following permissions: PERMISSION_TAKE_CONTROLS, PERMISSION_TRIGGER_ANIMATION, PERMISSION_ATTACH, PERMISSION_TRACK_CAMERA, PERMISSION_CONTROL_CAMERA and PERMISSION_TELEPORT. However, unlike llRequestPermissions the decision to allow or block the request is persistent and applies to all scripts using the experience grid wide. Subsequent calls to llRequestExperiencePermissions from scripts in the experience will receive the same response automatically with no user interaction. One of experience_permissions or experience_permissions_denied will be generated in response to this call. Outstanding permission requests will be lost if the script is derezzed, moved to another region or reset.
@@ -17363,7 +17623,7 @@
<key>ParameterValue</key>
<map>
<key>type</key>
- <string>float</string>
+ <string>rotation</string>
<key>tooltip</key>
<string/>
</map>
@@ -17418,7 +17678,7 @@
<key>ParameterValue</key>
<map>
<key>type</key>
- <string>float</string>
+ <string>vector</string>
<key>tooltip</key>
<string/>
</map>
@@ -18487,36 +18747,44 @@
<key>return</key>
<string>key</string>
<key>arguments</key>
- <map>
- <key>Key</key>
- <map>
+ <array>
+ <map>
+ <key>Key</key>
+ <map>
<key>type</key>
<string>string</string>
<key>tooltip</key>
<string></string>
- </map>
- <key>Value</key>
- <map>
+ </map>
+ </map>
+ <map>
+ <key>Value</key>
+ <map>
<key>type</key>
<string>string</string>
<key>tooltip</key>
<string></string>
- </map>
- <key>Checked</key>
- <map>
+ </map>
+ </map>
+ <map>
+ <key>Checked</key>
+ <map>
<key>type</key>
<string>integer</string>
<key>tooltip</key>
<string></string>
- </map>
- <key>OriginalValue</key>
- <map>
+ </map>
+ </map>
+ <map>
+ <key>OriginalValue</key>
+ <map>
<key>type</key>
<string>string</string>
<key>tooltip</key>
<string></string>
- </map>
- </map>
+ </map>
+ </map>
+ </array>
<key>tooltip</key>
<string>
Starts an asychronous transaction to update the value associated with the key given. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key. If Checked is 1 the existing value in the data store must match the OriginalValue passed or XP_ERROR_RETRY_UPDATE will be returned. If Checked is 0 the key will be created if necessary.
@@ -18868,31 +19136,8 @@
<key>tooltip</key>
<string>Returns the largest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.</string>
</map>
- <key>llScaleByFactor</key>
- <map>
- <key>energy</key>
- <real>10.0</real>
- <key>sleep</key>
- <real>0.0</real>
- <key>return</key>
- <string>float</string>
- <key>arguments</key>
- <array>
- <map>
- <key>Factor</key>
- <map>
- <key>type</key>
- <string>float</string>
- <key>tooltip</key>
- <string/>
- </map>
- </map>
- </array>
- <key>tooltip</key>
- <string>Tries to uniformly scale the object by a multiplicative factor. Returns TRUE on success or FALSE on failure.</string>
- </map>
</map>
<key>llsd-lsl-syntax-version</key>
- <integer>2</integer>
+ <integer>2</integer><!-- increment only when the file format changes, not just the content -->
</map>
</llsd>
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 4912f27e70..7a897172c2 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -137,6 +137,17 @@
<key>Value</key>
<integer>1</integer>
</map>
+ <key>AdvanceOutfitSnapshot</key>
+ <map>
+ <key>Comment</key>
+ <string>Display advanced parameter settings in outfit snaphot interface</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>Boolean</string>
+ <key>Value</key>
+ <integer>1</integer>
+ </map>
<key>AgentPause</key>
<map>
<key>Comment</key>
@@ -2034,11 +2045,11 @@
<key>Comment</key>
<string>Size (in bytes) for each coroutine stack</string>
<key>Persist</key>
- <integer>0</integer>
+ <integer>1</integer>
<key>Type</key>
<string>S32</string>
<key>Value</key>
- <integer>262144</integer>
+ <integer>524288</integer>
</map>
<key>CrashOnStartup</key>
<map>
@@ -2194,6 +2205,17 @@
<key>Value</key>
<string />
</map>
+ <key>DebugAvatarJoints</key>
+ <map>
+ <key>Comment</key>
+ <string>List of joints to emit additional debugging info about.</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>String</string>
+ <key>Value</key>
+ <string />
+ </map>
<key>DebugAvatarRezTime</key>
<map>
<key>Comment</key>
@@ -3514,6 +3536,17 @@
<key>Value</key>
<integer>0</integer>
</map>
+ <key>IncludeEnhancedSkeleton</key>
+ <map>
+ <key>Comment</key>
+ <string>Include extended skeleton joints when rendering skinned meshes.</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>Boolean</string>
+ <key>Value</key>
+ <integer>1</integer>
+ </map>
<key>MinObjectsForUnlinkConfirm</key>
<map>
<key>Comment</key>
@@ -3701,6 +3734,17 @@
<key>Value</key>
<integer>1</integer>
</map>
+ <key>QueueInventoryFetchTimeout</key>
+ <map>
+ <key>Comment</key>
+ <string>Max time llcompilequeue will wait for inventory fetch to complete (in seconds)</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>F32</string>
+ <key>Value</key>
+ <real>300.0</real>
+ </map>
<key>FindLandArea</key>
<map>
<key>Comment</key>
@@ -4493,28 +4537,6 @@
<key>Value</key>
<string>http://search.secondlife.com/viewer/[CATEGORY]/?q=[QUERY]&amp;p=[AUTH_TOKEN]&amp;r=[MATURITY]&amp;lang=[LANGUAGE]&amp;g=[GODLIKE]&amp;sid=[SESSION_ID]&amp;rid=[REGION_ID]&amp;pid=[PARCEL_ID]&amp;channel=[CHANNEL]&amp;version=[VERSION]&amp;major=[VERSION_MAJOR]&amp;minor=[VERSION_MINOR]&amp;patch=[VERSION_PATCH]&amp;build=[VERSION_BUILD]</string>
</map>
- <key>WebProfileURL</key>
- <map>
- <key>Comment</key>
- <string>URL for Web Profiles</string>
- <key>Persist</key>
- <integer>0</integer>
- <key>Type</key>
- <string>String</string>
- <key>Value</key>
- <string>https://my.secondlife.com/[AGENT_NAME]</string>
- </map>
- <key>WebProfileNonProductionURL</key>
- <map>
- <key>Comment</key>
- <string>URL for Web Profiles on Non-Production grids</string>
- <key>Persist</key>
- <integer>0</integer>
- <key>Type</key>
- <string>String</string>
- <key>Value</key>
- <string>https://my-demo.secondlife.com/[AGENT_NAME]</string>
- </map>
<key>HighResSnapshot</key>
<map>
<key>Comment</key>
@@ -4859,7 +4881,7 @@
<key>InventoryTrashMaxCapacity</key>
<map>
<key>Comment</key>
- <string>Maximum capacity of the Trash folder. User will ve offered to clean it up when exceeded.</string>
+ <string>Maximum capacity of the Trash folder. User will be offered to clean it up when exceeded.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
@@ -5241,6 +5263,17 @@
<key>Value</key>
<integer>0</integer>
</map>
+ <key>LastAppearanceTab</key>
+ <map>
+ <key>Comment</key>
+ <string>Last selected tab in appearance floater</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>S32</string>
+ <key>Value</key>
+ <integer>0</integer>
+ </map>
<key>LastMediaSettingsTab</key>
<map>
<key>Comment</key>
@@ -6332,17 +6365,6 @@
<key>Value</key>
<integer>512</integer>
</map>
- <key>MemProfiling</key>
- <map>
- <key>Comment</key>
- <string>You want to use tcmalloc's memory profiling options.</string>
- <key>Persist</key>
- <integer>1</integer>
- <key>Type</key>
- <string>Boolean</string>
- <key>Value</key>
- <integer>0</integer>
- </map>
<key>MenuAccessKeyTime</key>
<map>
<key>Comment</key>
@@ -6407,7 +6429,7 @@
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
- <integer>1</integer>
+ <integer>0</integer>
</map>
<key>MeshUploadLogXML</key>
<map>
@@ -6607,6 +6629,17 @@
<key>Value</key>
<integer>0</integer>
</map>
+ <key>MuteListLimit</key>
+ <map>
+ <key>Comment</key>
+ <string>Maximum number of entries in the mute list</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>S32</string>
+ <key>Value</key>
+ <integer>1000</integer>
+ </map>
<key>MyOutfitsAutofill</key>
<map>
<key>Comment</key>
@@ -7929,6 +7962,17 @@
<key>Value</key>
<integer>100000</integer>
</map>
+ <key>PrimTextMaxDrawDistance</key>
+ <map>
+ <key>Comment</key>
+ <string>Maximum draw distance beyond which PRIM_TEXT won't be rendered</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>F32</string>
+ <key>Value</key>
+ <real>64.0</real>
+ </map>
<key>ProbeHardwareOnStartup</key>
<map>
<key>Comment</key>
@@ -10013,28 +10057,28 @@
<key>Value</key>
<integer>0</integer>
</map>
- <key>RenderUseFarClip</key>
- <map>
- <key>Comment</key>
- <string>If false, frustum culling will ignore far clip plane.</string>
- <key>Persist</key>
- <integer>1</integer>
- <key>Type</key>
- <string>Boolean</string>
- <key>Value</key>
- <integer>1</integer>
- </map>
- <key>RenderUseImpostors</key>
- <map>
- <key>Comment</key>
+ <key>RenderUseFarClip</key>
+ <map>
+ <key>Comment</key>
+ <string>If false, frustum culling will ignore far clip plane.</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>Boolean</string>
+ <key>Value</key>
+ <integer>1</integer>
+ </map>
+ <key>RenderUseImpostors</key>
+ <map>
+ <key>Comment</key>
<string>OBSOLETE and UNUSED. See RenderAvatarMaxNonImpostors and RenderAvatarMaxComplexity.</string>
- <key>Persist</key>
+ <key>Persist</key>
<integer>0</integer>
- <key>Type</key>
- <string>Boolean</string>
- <key>Value</key>
+ <key>Type</key>
+ <string>Boolean</string>
+ <key>Value</key>
<integer>0</integer>
- </map>
+ </map>
<key>RenderAutoMuteByteLimit</key>
<map>
<key>Comment</key>
@@ -10081,6 +10125,17 @@
<key>Value</key>
<integer>10</integer>
</map>
+ <key>ComplexityChangesPopUpDelay</key>
+ <map>
+ <key>Comment</key>
+ <string>Delay before viewer will show avatar complexity notice again</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>U32</string>
+ <key>Value</key>
+ <integer>300</integer>
+ </map>
<key>RenderAvatarMaxComplexity</key>
<map>
<key>Comment</key>
@@ -10093,6 +10148,50 @@
<key>Value</key>
<integer>0</integer>
</map>
+ <key>RenderHUDObjectsWarning</key>
+ <map>
+ <key>Comment</key>
+ <string>Viewer will warn user about HUD containing to many objects if objects count is above this value</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>U32</string>
+ <key>Value</key>
+ <integer>1000</integer>
+ </map>
+ <key>RenderHUDTexturesWarning</key>
+ <map>
+ <key>Comment</key>
+ <string>Viewer will warn user about HUD containing to many textures if texture count is above this value</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>U32</string>
+ <key>Value</key>
+ <integer>200</integer>
+ </map>
+ <key>RenderHUDOversizedTexturesWarning</key>
+ <map>
+ <key>Comment</key>
+ <string>How many textures with size 1024 * 1024 or bigger HUD can contain before notifying user</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>U32</string>
+ <key>Value</key>
+ <integer>6</integer>
+ </map>
+ <key>RenderHUDTexturesMemoryWarning</key>
+ <map>
+ <key>Comment</key>
+ <string>Viewer will warn user about HUD textures using memory above this value (in bytes)</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>U32</string>
+ <key>Value</key>
+ <integer>32000000</integer>
+ </map>
<key>RenderAutoMuteSurfaceAreaLimit</key>
<map>
<key>Comment</key>
@@ -12781,6 +12880,17 @@
<key>Value</key>
<real>1.0</real>
</map>
+ <key>LastSystemUIScaleFactor</key>
+ <map>
+ <key>Comment</key>
+ <string>Size of system UI during last run. On Windows 100% (96 DPI) system setting is 1.0 UI size</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>F32</string>
+ <key>Value</key>
+ <real>1.0</real>
+ </map>
<key>UIScrollbarSize</key>
<map>
<key>Comment</key>
@@ -13276,6 +13386,17 @@
<key>Value</key>
<string>1</string>
</map>
+ <key>UpdaterShowReleaseNotes</key>
+ <map>
+ <key>Comment</key>
+ <string>Enables displaying of the Release notes in a web floater after update.</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>Boolean</string>
+ <key>Value</key>
+ <integer>1</integer>
+ </map>
<key>UploadBakedTexOld</key>
<map>
<key>Comment</key>
@@ -14464,6 +14585,17 @@
<key>Value</key>
<integer>0</integer>
</map>
+ <key>LogWearableAssetSave</key>
+ <map>
+ <key>Comment</key>
+ <string>Save copy of saved wearables to log dir</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>Boolean</string>
+ <key>Value</key>
+ <integer>0</integer>
+ </map>
<key>LogTextureDownloadsToViewerLog</key>
<map>
<key>Comment</key>
@@ -14614,6 +14746,17 @@
<key>Value</key>
<integer>1</integer>
</map>
+ <key>OutfitGallerySortByName</key>
+ <map>
+ <key>Comment</key>
+ <string>Always sort outfits by name in Outfit Gallery</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>Boolean</string>
+ <key>Value</key>
+ <integer>0</integer>
+ </map>
<key>OutfitOperationsTimeout</key>
<map>
<key>Comment</key>
diff --git a/indra/newview/app_settings/settings_per_account.xml b/indra/newview/app_settings/settings_per_account.xml
index fd6b1b5b3f..eee13fb28e 100644
--- a/indra/newview/app_settings/settings_per_account.xml
+++ b/indra/newview/app_settings/settings_per_account.xml
@@ -242,6 +242,17 @@
<key>Value</key>
<integer>0</integer>
</map>
+ <key>PreviousScreenshotForReport</key>
+ <map>
+ <key>Comment</key>
+ <string>Use Previous Screenshot for Abuse report</string>
+ <key>Persist</key>
+ <integer>1</integer>
+ <key>Type</key>
+ <string>Boolean</string>
+ <key>Value</key>
+ <integer>0</integer>
+ </map>
<!-- Settings below are for back compatibility only.
They are not used in current viewer anymore. But they can't be removed to avoid
influence on previous versions of the viewer in case of settings are not used or default value
@@ -251,7 +262,7 @@
<key>LogChat</key>
<map>
<key>Comment</key>
- <string>Log Chat</string>
+ <string>Obsolete - this setting is no longer used and has no effect.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
@@ -262,7 +273,7 @@
<key>LogChatIM</key>
<map>
<key>Comment</key>
- <string>Log Incoming Instant Messages with Chat</string>
+ <string>Obsolete - this setting is no longer used and has no effect.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
@@ -273,7 +284,7 @@
<key>LogChatTimestamp</key>
<map>
<key>Comment</key>
- <string>Log Timestamp of Chat</string>
+ <string>Obsolete - this setting is no longer used and has no effect.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
@@ -281,6 +292,7 @@
<key>Value</key>
<integer>0</integer>
</map>
+ <!-- End of back compatibility settings -->
<key>TranslatingEnabled</key>
<map>
<key>Comment</key>
@@ -336,6 +348,5 @@
<key>Value</key>
<integer>1</integer>
</map>
- <!-- End of back compatibility settings -->
</map>
</llsd>
diff --git a/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl b/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl
index 3060307b21..90bf2851c9 100644
--- a/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl
+++ b/indra/newview/app_settings/shaders/class1/avatar/objectSkinV.glsl
@@ -24,8 +24,7 @@
ATTRIBUTE vec4 weight4;
-uniform mat3 matrixPalette[52];
-uniform vec3 translationPalette[52];
+uniform mat3x4 matrixPalette[MAX_JOINTS_PER_MESH_OBJECT];
mat4 getObjectSkinnedTransform()
{
@@ -34,8 +33,8 @@ mat4 getObjectSkinnedTransform()
vec4 w = fract(weight4);
vec4 index = floor(weight4);
- index = min(index, vec4(51.0));
- index = max(index, vec4( 0.0));
+ index = min(index, vec4(MAX_JOINTS_PER_MESH_OBJECT-1));
+ index = max(index, vec4( 0.0));
w *= 1.0/(w.x+w.y+w.z+w.w);
@@ -43,16 +42,16 @@ mat4 getObjectSkinnedTransform()
int i2 = int(index.y);
int i3 = int(index.z);
int i4 = int(index.w);
-
- mat3 mat = matrixPalette[i1]*w.x;
- mat += matrixPalette[i2]*w.y;
- mat += matrixPalette[i3]*w.z;
- mat += matrixPalette[i4]*w.w;
- vec3 trans = translationPalette[i1]*w.x;
- trans += translationPalette[i2]*w.y;
- trans += translationPalette[i3]*w.z;
- trans += translationPalette[i4]*w.w;
+ mat3 mat = mat3(matrixPalette[i1])*w.x;
+ mat += mat3(matrixPalette[i2])*w.y;
+ mat += mat3(matrixPalette[i3])*w.z;
+ mat += mat3(matrixPalette[i4])*w.w;
+
+ vec3 trans = vec3(matrixPalette[i1][0].w,matrixPalette[i1][1].w,matrixPalette[i1][2].w)*w.x;
+ trans += vec3(matrixPalette[i2][0].w,matrixPalette[i2][1].w,matrixPalette[i2][2].w)*w.y;
+ trans += vec3(matrixPalette[i3][0].w,matrixPalette[i3][1].w,matrixPalette[i3][2].w)*w.z;
+ trans += vec3(matrixPalette[i4][0].w,matrixPalette[i4][1].w,matrixPalette[i4][2].w)*w.w;
mat4 ret;
@@ -65,10 +64,8 @@ mat4 getObjectSkinnedTransform()
#ifdef IS_AMD_CARD
// If it's AMD make sure the GLSL compiler sees the arrays referenced once by static index. Otherwise it seems to optimise the storage awawy which leads to unfun crashes and artifacts.
- mat3 dummy1 = matrixPalette[0];
- vec3 dummy2 = translationPalette[0];
- mat3 dummy3 = matrixPalette[51];
- vec3 dummy4 = translationPalette[51];
+ mat3x4 dummy1 = matrixPalette[0];
+ mat3x4 dummy2 = matrixPalette[MAX_JOINTS_PER_MESH_OBJECT-1];
#endif
}
diff --git a/indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskNonIndexedF.glsl b/indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskNonIndexedF.glsl
index b9ddbc8e1c..8918182853 100644
--- a/indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskNonIndexedF.glsl
+++ b/indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskNonIndexedF.glsl
@@ -43,12 +43,12 @@ void default_lighting()
{
vec4 color = texture2D(diffuseMap,vary_texcoord0.xy);
+ color *= vertex_color;
+
if (color.a < minimum_alpha)
{
discard;
}
-
- color.rgb *= vertex_color.rgb;
color.rgb = atmosLighting(color.rgb);