From 941cb9f4124c9ccfd5c845bc94639fa46df12c3d Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Tue, 1 Apr 2008 17:45:04 +0000 Subject: merge release@83343 skinning-1-merge@83714 -> release QAR-424 --- indra/newview/llvlcomposition.cpp | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'indra/newview/llvlcomposition.cpp') diff --git a/indra/newview/llvlcomposition.cpp b/indra/newview/llvlcomposition.cpp index 46085895f6..2ab2db625d 100644 --- a/indra/newview/llvlcomposition.cpp +++ b/indra/newview/llvlcomposition.cpp @@ -32,6 +32,8 @@ #include "llviewerprecompiledheaders.h" #include "llvlcomposition.h" + +#include "imageids.h" #include "llerror.h" #include "v3math.h" #include "llsurface.h" @@ -69,22 +71,10 @@ LLVLComposition::LLVLComposition(LLSurface *surfacep, const U32 width, const F32 mSurfacep = surfacep; // Load Terrain Textures - Original ones - LLUUID id; - // Dirt - id.set( gViewerArt.getString("terrain_dirt_detail.tga") ); - setDetailTextureID(0, id); - - // Grass - id.set( gViewerArt.getString("terrain_grass_detail.tga") ); - setDetailTextureID(1, id); - - // Rock mountain - id.set( gViewerArt.getString("terrain_mountain_detail.tga") ); - setDetailTextureID(2, id); - - // Rock face - id.set( gViewerArt.getString("terrain_rock_detail.tga") ); - setDetailTextureID(3, id); + setDetailTextureID(0, TERRAIN_DIRT_DETAIL); + setDetailTextureID(1, TERRAIN_GRASS_DETAIL); + setDetailTextureID(2, TERRAIN_MOUNTAIN_DETAIL); + setDetailTextureID(3, TERRAIN_ROCK_DETAIL); // Initialize the texture matrix to defaults. for (S32 i = 0; i < CORNER_COUNT; ++i) -- cgit v1.2.3