diff options
author | Aleric Inglewood | 2010-09-28 03:06:39 +0200 |
---|---|---|
committer | McCabe Maxsted | 2010-10-01 20:38:10 -0700 |
commit | cf47ba8754b6a8928efed885913ccbca5fad77a8 (patch) | |
tree | d96308e9acaa6e3dfc2f2463ba0912e7a3abdba9 /linden/indra/llprimitive | |
parent | RED-554: SNOW-623: Add support for boost 1.42 (diff) | |
download | meta-impy-cf47ba8754b6a8928efed885913ccbca5fad77a8.zip meta-impy-cf47ba8754b6a8928efed885913ccbca5fad77a8.tar.gz meta-impy-cf47ba8754b6a8928efed885913ccbca5fad77a8.tar.bz2 meta-impy-cf47ba8754b6a8928efed885913ccbca5fad77a8.tar.xz |
RED-556: SNOW-800: Massively duplicated objects
See http://redmine.imprudenceviewer.org/issues/556
Diffstat (limited to 'linden/indra/llprimitive')
-rw-r--r-- | linden/indra/llprimitive/llmaterialtable.cpp | 10 | ||||
-rw-r--r-- | linden/indra/llprimitive/material_codes.h | 16 |
2 files changed, 18 insertions, 8 deletions
diff --git a/linden/indra/llprimitive/llmaterialtable.cpp b/linden/indra/llprimitive/llmaterialtable.cpp index 4c22203..92eef96 100644 --- a/linden/indra/llprimitive/llmaterialtable.cpp +++ b/linden/indra/llprimitive/llmaterialtable.cpp | |||
@@ -40,6 +40,16 @@ | |||
40 | 40 | ||
41 | LLMaterialTable LLMaterialTable::basic(1); | 41 | LLMaterialTable LLMaterialTable::basic(1); |
42 | 42 | ||
43 | // Material UUIDs. | ||
44 | LLUUID const LL_DEFAULT_STONE_UUID("87c5765b-aa26-43eb-b8c6-c09a1ca6208e"); | ||
45 | LLUUID const LL_DEFAULT_METAL_UUID("6f3c53e9-ba60-4010-8f3e-30f51a762476"); | ||
46 | LLUUID const LL_DEFAULT_GLASS_UUID("b4ba225c-373f-446d-9f7e-6cb7b5cf9b3d"); | ||
47 | LLUUID const LL_DEFAULT_WOOD_UUID("89556747-24cb-43ed-920b-47caed15465f"); | ||
48 | LLUUID const LL_DEFAULT_FLESH_UUID("80736669-e4b9-450e-8890-d5169f988a50"); | ||
49 | LLUUID const LL_DEFAULT_PLASTIC_UUID("304fcb4e-7d33-4339-ba80-76d3d22dc11a"); | ||
50 | LLUUID const LL_DEFAULT_RUBBER_UUID("9fae0bc5-666d-477e-9f70-84e8556ec867"); | ||
51 | LLUUID const LL_DEFAULT_LIGHT_UUID("00000000-0000-0000-0000-000000000000"); | ||
52 | |||
43 | /* | 53 | /* |
44 | Old Havok 1 constants | 54 | Old Havok 1 constants |
45 | 55 | ||
diff --git a/linden/indra/llprimitive/material_codes.h b/linden/indra/llprimitive/material_codes.h index e5a59a2..ed159bc 100644 --- a/linden/indra/llprimitive/material_codes.h +++ b/linden/indra/llprimitive/material_codes.h | |||
@@ -47,13 +47,13 @@ const U8 LL_MCODE_LIGHT = 7; | |||
47 | const U8 LL_MCODE_END = 8; | 47 | const U8 LL_MCODE_END = 8; |
48 | const U8 LL_MCODE_MASK = 0x0F; | 48 | const U8 LL_MCODE_MASK = 0x0F; |
49 | 49 | ||
50 | const LLUUID LL_DEFAULT_STONE_UUID("87c5765b-aa26-43eb-b8c6-c09a1ca6208e"); | 50 | extern LLUUID const LL_DEFAULT_STONE_UUID; |
51 | const LLUUID LL_DEFAULT_METAL_UUID("6f3c53e9-ba60-4010-8f3e-30f51a762476"); | 51 | extern LLUUID const LL_DEFAULT_METAL_UUID; |
52 | const LLUUID LL_DEFAULT_GLASS_UUID("b4ba225c-373f-446d-9f7e-6cb7b5cf9b3d"); | 52 | extern LLUUID const LL_DEFAULT_GLASS_UUID; |
53 | const LLUUID LL_DEFAULT_WOOD_UUID("89556747-24cb-43ed-920b-47caed15465f"); | 53 | extern LLUUID const LL_DEFAULT_WOOD_UUID; |
54 | const LLUUID LL_DEFAULT_FLESH_UUID("80736669-e4b9-450e-8890-d5169f988a50"); | 54 | extern LLUUID const LL_DEFAULT_FLESH_UUID; |
55 | const LLUUID LL_DEFAULT_PLASTIC_UUID("304fcb4e-7d33-4339-ba80-76d3d22dc11a"); | 55 | extern LLUUID const LL_DEFAULT_PLASTIC_UUID; |
56 | const LLUUID LL_DEFAULT_RUBBER_UUID("9fae0bc5-666d-477e-9f70-84e8556ec867"); | 56 | extern LLUUID const LL_DEFAULT_RUBBER_UUID; |
57 | const LLUUID LL_DEFAULT_LIGHT_UUID("00000000-0000-0000-0000-000000000000"); | 57 | extern LLUUID const LL_DEFAULT_LIGHT_UUID; |
58 | 58 | ||
59 | #endif | 59 | #endif |