Build fix for that
This commit is contained in:
@@ -1224,6 +1224,7 @@ set_source_files_properties(${viewer_XUI_FILES}
|
||||
list(APPEND viewer_SOURCE_FILES ${viewer_XUI_FILES})
|
||||
|
||||
set(viewer_APPSETTINGS_FILES
|
||||
viewer_manifest.py
|
||||
app_settings/anim.ini
|
||||
app_settings/cmd_line.xml
|
||||
app_settings/grass.xml
|
||||
|
||||
@@ -138,16 +138,16 @@ LLViewerParcelMgr::LLViewerParcelMgr()
|
||||
mHoverParcel = new LLParcel();
|
||||
mCollisionParcel = new LLParcel();
|
||||
mBlockedImage = LLViewerTextureManager::getFetchedTextureFromFile("noentrylines.j2c");
|
||||
mPassImage = LLViewerTextureManager::getFetchedTextureFromFile("noentrypasslines.j2c");
|
||||
|
||||
init(256);
|
||||
|
||||
mPassImage = LLViewerTextureManager::getFetchedTextureFromFile("noentrypasslines.j2c");
|
||||
|
||||
init(256);
|
||||
|
||||
}
|
||||
|
||||
//moved this stuff out of the constructor and into a function that we can call again after we get the region size.
|
||||
//LLViewerParcelMgr needs to be changed so we either get an instance per region, or it handles various region sizes
|
||||
//on a single grid properly - Patrick Sapinski (2/10/2011)
|
||||
void LLViewerParcelMgr::init(F32 region_size)
|
||||
//moved this stuff out of the constructor and into a function that we can call again after we get the region size.
|
||||
//LLViewerParcelMgr needs to be changed so we either get an instance per region, or it handles various region sizes
|
||||
//on a single grid properly - Patrick Sapinski (2/10/2011)
|
||||
void LLViewerParcelMgr::init(F32 region_size)
|
||||
{
|
||||
mParcelsPerEdge = S32( REGION_WIDTH_METERS / PARCEL_GRID_STEP_METERS );
|
||||
mHighlightSegments = new U8[(mParcelsPerEdge+1)*(mParcelsPerEdge+1)];
|
||||
@@ -1349,7 +1349,7 @@ void LLViewerParcelMgr::processParcelOverlay(LLMessageSystem *msg, void **user)
|
||||
return;
|
||||
}
|
||||
|
||||
S32 parcels_per_edge = LLViewerParcelMgr::getInstance()->mParcelsPerEdge;
|
||||
//S32 parcels_per_edge = LLViewerParcelMgr::getInstance()->mParcelsPerEdge;
|
||||
S32 expected_size = 1024;
|
||||
if (packed_overlay_size != expected_size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user