diff options
author | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
commit | b2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch) | |
tree | 3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/newview/llvosurfacepatch.cpp | |
parent | Second Life viewer sources 1.14.0.1 (diff) | |
download | meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.zip meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.gz meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.bz2 meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.xz |
Second Life viewer sources 1.15.0.2
Diffstat (limited to 'linden/indra/newview/llvosurfacepatch.cpp')
-rw-r--r-- | linden/indra/newview/llvosurfacepatch.cpp | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/linden/indra/newview/llvosurfacepatch.cpp b/linden/indra/newview/llvosurfacepatch.cpp index 88e610b..8089596 100644 --- a/linden/indra/newview/llvosurfacepatch.cpp +++ b/linden/indra/newview/llvosurfacepatch.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 5 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -88,21 +89,21 @@ public: | |||
88 | //============================================================================ | 89 | //============================================================================ |
89 | 90 | ||
90 | LLVOSurfacePatch::LLVOSurfacePatch(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp) | 91 | LLVOSurfacePatch::LLVOSurfacePatch(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp) |
91 | : LLStaticViewerObject(id, LL_VO_SURFACE_PATCH, regionp) | 92 | : LLStaticViewerObject(id, LL_VO_SURFACE_PATCH, regionp), |
93 | mDirtiedPatch(FALSE), | ||
94 | mPool(NULL), | ||
95 | mBaseComp(0), | ||
96 | mPatchp(NULL), | ||
97 | mDirtyTexture(FALSE), | ||
98 | mDirtyTerrain(FALSE), | ||
99 | mLastNorthStride(0), | ||
100 | mLastEastStride(0), | ||
101 | mLastStride(0), | ||
102 | mLastLength(0) | ||
92 | { | 103 | { |
93 | // Terrain must draw during selection passes so it can block objects behind it. | 104 | // Terrain must draw during selection passes so it can block objects behind it. |
94 | mbCanSelect = TRUE; | 105 | mbCanSelect = TRUE; |
95 | |||
96 | mBaseComp = 0; | ||
97 | setScale(LLVector3(16.f, 16.f, 16.f)); // Hack for setting scale for bounding boxes/visibility. | 106 | setScale(LLVector3(16.f, 16.f, 16.f)); // Hack for setting scale for bounding boxes/visibility. |
98 | mPool = NULL; | ||
99 | mDirtiedPatch = FALSE; | ||
100 | mLastStride = 0; | ||
101 | mLastNorthStride = 0; | ||
102 | mLastEastStride = 0; | ||
103 | mLastLength = 0; | ||
104 | |||
105 | mDirtyTerrain = TRUE; | ||
106 | } | 107 | } |
107 | 108 | ||
108 | 109 | ||