From 01dd55579a450545b4e9d317a1e3cab6ce57d62c Mon Sep 17 00:00:00 2001 From: Hazim Gazov Date: Sun, 16 May 2010 02:57:47 -0300 Subject: [PATCH] I'm dumb for breaking head again --- indra/newview/llagent.cpp | 42 ++++++++++--------- .../xui/en-us/floater_texture_ctrl.xml | 8 +++- 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 364b272f0..22b1a3bfe 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -220,17 +220,19 @@ LLAgent gAgent; // Statics // -// -// For MapBlockReply funk 'cause I dunno what I'm doing -BOOL LLAgent::lure_show = FALSE; -std::string LLAgent::lure_name; -LLVector3d LLAgent::lure_posglobal; -U16 LLAgent::lure_global_x; -U16 LLAgent::lure_global_y; -int LLAgent::lure_x; -int LLAgent::lure_y; -int LLAgent::lure_z; -std::string LLAgent::lure_maturity; +// +// For MapBlockReply funk 'cause I dunno what I'm doing +/* not *quite* there yet, and I don't want to break head. +BOOL LLAgent::lure_show = FALSE; +std::string LLAgent::lure_name; +LLVector3d LLAgent::lure_posglobal; +U16 LLAgent::lure_global_x; +U16 LLAgent::lure_global_y; +int LLAgent::lure_x; +int LLAgent::lure_y; +int LLAgent::lure_z; +std::string LLAgent::lure_maturity; +*/ // const F32 LLAgent::TYPING_TIMEOUT_SECS = 5.f; @@ -770,11 +772,11 @@ void LLAgent::movePitch(S32 direction) // Does this parcel allow you to fly? BOOL LLAgent::canFly() { - if (isGodlike()) return TRUE; - - // - if(gSavedSettings.getBOOL("AlwaysAllowFly")) return TRUE; - // + if (isGodlike()) return TRUE; + + // + if(gSavedSettings.getBOOL("AlwaysAllowFly")) return TRUE; + // LLViewerRegion* regionp = getRegion(); if (regionp && regionp->getBlockFly()) return FALSE; @@ -1883,10 +1885,10 @@ void LLAgent::cameraZoomIn(const F32 fraction) LLWorld::getInstance()->getRegionWidthInMeters() - DIST_FUDGE ); if (new_distance > max_distance) - { - // screw cam constraints - //new_distance = max_distance; - // + { + // screw cam constraints + //new_distance = max_distance; + // /* // Unless camera is unlocked diff --git a/indra/newview/skins/default/xui/en-us/floater_texture_ctrl.xml b/indra/newview/skins/default/xui/en-us/floater_texture_ctrl.xml index 97b12e04a..b2790ea0d 100644 --- a/indra/newview/skins/default/xui/en-us/floater_texture_ctrl.xml +++ b/indra/newview/skins/default/xui/en-us/floater_texture_ctrl.xml @@ -1,7 +1,7 @@ Click to choose a picture @@ -54,6 +54,10 @@