#include "llviewerprecompiledheaders.h"
#include "llselectmgr.h"
#include "llcachename.h"
#include "lldbstrings.h"
#include "lleconomy.h"
#include "llgl.h"
#include "llglimmediate.h"
#include "llpermissions.h"
#include "llpermissionsflags.h"
#include "llundo.h"
#include "lluuid.h"
#include "llvolume.h"
#include "message.h"
#include "object_flags.h"
#include "llquaternion.h"
#include "llagent.h"
#include "llviewerwindow.h"
#include "lldrawable.h"
#include "llfloaterinspect.h"
#include "llfloaterproperties.h"
#include "llfloaterreporter.h"
#include "llfloatertools.h"
#include "llframetimer.h"
#include "llhudeffecttrail.h"
#include "llhudmanager.h"
#include "llinventorymodel.h"
#include "llmenugl.h"
#include "llmutelist.h"
#include "llstatusbar.h"
#include "llsurface.h"
#include "lltool.h"
#include "lltooldraganddrop.h"
#include "lltoolmgr.h"
#include "lltoolpie.h"
#include "llui.h"
#include "llviewercamera.h"
#include "llviewercontrol.h"
#include "llviewerimagelist.h"
#include "llviewermenu.h"
#include "llviewerobject.h"
#include "llviewerobjectlist.h"
#include "llviewerregion.h"
#include "llviewerstats.h"
#include "llvoavatar.h"
#include "llvovolume.h"
#include "pipeline.h"
#include "llglheaders.h"
Go to the source code of this file.
Classes | |
struct | LLDeRezInfo |
struct | LLSelectMgrSendFunctor |
struct | LLDuplicateData |
struct | LLDuplicateOnRayData |
struct | LLOwnerData |
struct | LLBuyData |
struct | LLPermData |
struct | LLSelectMgrApplyFlags |
Typedefs | |
typedef std::pair< const LLString, const LLString > | godlike_request_t |
Functions | |
LLViewerObject * | getSelectedParentObject (LLViewerObject *object) |
static LLObjectSelection * | get_null_object_selection () |
void | dialog_refresh_all () |
S32 | get_family_count (LLViewerObject *parent) |
Variables | |
const S32 | NUM_SELECTION_UNDO_ENTRIES = 200 |
const F32 | SILHOUETTE_UPDATE_THRESHOLD_SQUARED = 0.02f |
const S32 | OWNERSHIP_COST_PER_OBJECT = 10 |
const S32 | MAX_ACTION_QUEUE_SIZE = 20 |
const S32 | MAX_SILS_PER_FRAME = 50 |
const S32 | MAX_OBJECTS_PER_PACKET = 254 |
LLUUID | gLastHitObjectID |
LLVector3d | gLastHitObjectOffset |
BOOL | gDebugSelectMgr = FALSE |
BOOL | gHideSelectedObjects = FALSE |
BOOL | gAllowSelectAvatar = FALSE |
static LLPointer < LLObjectSelection > | sNullSelection |
LLGLdouble | gGLModelView [16] |
Copyright (c) 2001-2008, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llselectmgr.cpp.
typedef std::pair<const LLString, const LLString> godlike_request_t |
Definition at line 1956 of file llselectmgr.cpp.
void dialog_refresh_all | ( | void | ) |
Definition at line 5360 of file llselectmgr.cpp.
References LLPieMenu::arrange(), LLFloaterInspect::dirty(), LLFloaterTools::dirty(), LLFloaterProperties::dirtyAll(), LLView::getVisible(), gFloaterTools, gNoRender, and gPieObject.
Referenced by LLSelectMgr::addAsIndividual(), callback_cache_name(), click_popup_rotate_left(), click_popup_rotate_reset(), click_popup_rotate_right(), LLManipRotate::drag(), LLToolDragAndDrop::dropTextureAllFaces(), LLToolDragAndDrop::dropTextureOneFace(), LLManipTranslate::handleHover(), move_task_inventory_callback(), LLToolGrab::onMouseCaptureLost(), LLLiveLSLEditor::onSaveBytecodeComplete(), LLPreviewNotecard::onSaveComplete(), LLPreviewGesture::onSaveComplete(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLViewerObjectList::processUpdateCore(), LLViewerObject::processUpdateMessage(), LLSelectMgr::remove(), LLSelectMgr::removeAll(), LLSelectMgr::selectObjectAndFamily(), LLManipScale::sendUpdates(), LLLiveLSLEditor::uploadAssetLegacy(), and LLUpdateTaskInventoryResponder::uploadComplete().
S32 get_family_count | ( | LLViewerObject * | parent | ) |
Definition at line 5380 of file llselectmgr.cpp.
References LLSelectMgr::canSelectObject(), LLSingleton< LLSelectMgr >::getInstance(), LLViewerObject::isDead(), llendl, llwarns, LLViewerObject::mChildList, and S32.
LLObjectSelection * get_null_object_selection | ( | ) | [static] |
Definition at line 164 of file llselectmgr.cpp.
References LLPointer< Type >::isNull().
LLViewerObject * getSelectedParentObject | ( | LLViewerObject * | object | ) |
Definition at line 6064 of file llselectmgr.cpp.
References LLXform::getParent(), and LLViewerObject::isSelected().
Referenced by LLObjectSelection::getFirstSelectedObject(), and LLSelectMgr::getGrid().
BOOL gAllowSelectAvatar = FALSE |
Definition at line 109 of file llselectmgr.cpp.
Referenced by LLSelectMgr::addAsFamily(), LLToolSelect::handleObjectSelection(), and init_debug_avatar_menu().
BOOL gDebugSelectMgr = FALSE |
Definition at line 106 of file llselectmgr.cpp.
Referenced by LLSelectMgr::deselectAllIfTooFar(), and init_debug_ui_menu().
Definition at line 150 of file llviewercamera.cpp.
Referenced by LLRenderPass::applyModelMatrix(), LLDrawPoolBump::beginFullbrightShiny(), LLDrawPoolBump::beginShiny(), display(), LLDrawPoolAvatar::getModelView(), glh_get_current_modelview(), glh_set_current_modelview(), hud_render_text(), LLViewerCamera::projectPosAgentToScreen(), LLViewerCamera::projectPosAgentToScreenEdge(), LLViewerCamera::projectScreenToPosAgent(), LLPipeline::renderDebug(), LLPipeline::renderForSelect(), LLPipeline::renderGeom(), LLDrawPoolTree::renderTree(), LLCubeMap::setMatrix(), LLViewerCamera::setPerspective(), LLOctreeRenderNonOccluded::traverse(), LLWaterParamManager::update(), and LLViewerCamera::updateFrustumPlanes().
BOOL gHideSelectedObjects = FALSE |
Definition at line 108 of file llselectmgr.cpp.
Referenced by init_debug_rendering_menu(), LLVolumeGeometryManager::registerFace(), LLPipeline::renderForSelect(), and LLPipeline::stateSort().
Definition at line 208 of file llviewerwindow.cpp.
Referenced by LLAgent::calcCameraPositionTargetGlobal(), handle_debug_avatar_textures(), handle_focus(), handle_follow(), handle_move(), handle_object_open(), LLToolPie::handleDoubleClick(), LLLandEdit::handleEvent(), LLShowAgentProfile::handleEvent(), LLObjectEnableSitOrStand::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLObjectEnableOpen::handleEvent(), LLObjectEnableTouch::handleEvent(), LLObjectTouch::handleEvent(), LLObjectEnableReportAbuse::handleEvent(), LLObjectReportAbuse::handleEvent(), LLToolSelect::handleMouseDown(), LLToolObjPicker::pickCallback(), LLToolGrab::pickCallback(), and LLToolCamera::pickCallback().
Definition at line 207 of file llviewerwindow.cpp.
Referenced by handle_focus(), handle_move(), LLToolPie::handleDoubleClick(), LLLandEdit::handleEvent(), LLLandBuild::handleEvent(), LLObjectBuild::handleEvent(), LLToolCamera::pickCallback(), and LLToolDragAndDrop::pickCallback().
const S32 MAX_ACTION_QUEUE_SIZE = 20 |
Definition at line 95 of file llselectmgr.cpp.
const S32 MAX_OBJECTS_PER_PACKET = 254 |
Definition at line 97 of file llselectmgr.cpp.
Referenced by LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::sendListToRegions(), and LLSelectMgr::sendSelectionMove().
const S32 MAX_SILS_PER_FRAME = 50 |
const S32 NUM_SELECTION_UNDO_ENTRIES = 200 |
Definition at line 92 of file llselectmgr.cpp.
const S32 OWNERSHIP_COST_PER_OBJECT = 10 |
const F32 SILHOUETTE_UPDATE_THRESHOLD_SQUARED = 0.02f |
LLPointer<LLObjectSelection> sNullSelection [static] |
Definition at line 152 of file llselectmgr.cpp.