I thought I'd done all these right already... meh~

This commit is contained in:
Lirusaito
2016-03-31 07:38:43 -04:00
parent 0c75255da7
commit 62b6531468
4 changed files with 2 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ const F32 CAMERA_BUTTON_DELAY = 0.0f;
//
LLFloaterCamera::LLFloaterCamera(const LLSD& val)
: LLFloater("camera floater") // uses "FloaterCameraRect3"
: LLFloater("camera floater"), // uses "FloaterCameraRect3"
mRotate(nullptr),
mZoom(nullptr),
mTrack(nullptr)

View File

@@ -243,7 +243,6 @@ LLFloaterLand::LLFloaterLand(const LLSD& seed)
, mPanelMedia(nullptr)
, mPanelAccess(nullptr)
, mPanelCovenant(nullptr)
, mPanelExperiences(nullptr)
{
mFactoryMap["land_general_panel"] = LLCallbackMap(createPanelLandGeneral, this);
mFactoryMap["land_covenant_panel"] = LLCallbackMap(createPanelLandCovenant, this);

View File

@@ -747,8 +747,6 @@ void LLFloaterIMPanel::addHistoryLine(const std::string &utf8msg, LLColor4 incol
static const LLCachedControl<std::string> ding("LiruNewMessageSound");
static const LLCachedControl<std::string> dong("LiruNewMessageSoundForSystemMessages");
LLUI::sAudioCallback(LLUUID(from_user ? ding : dong));
void flash_viewer_window(S32);
flash_viewer_window(2);
}
// start tab flashing when receiving im for background session from user

View File

@@ -2317,7 +2317,7 @@ BOOL LLManipTranslate::canAffectSelection()
virtual bool apply(LLViewerObject* objectp)
{
LLViewerObject *root_object = (objectp == NULL) ? NULL : objectp->getRootEdit();
return object && objectp->permMove() && !objectp->isPermanentEnforced() &&
return objectp && objectp->permMove() && !objectp->isPermanentEnforced() &&
((root_object == NULL) || !root_object->isPermanentEnforced()) &&
(objectp->permModify() || !gSavedSettings.getBOOL("EditLinkedParts"));
}