summaryrefslogtreecommitdiff
path: root/indra/newview/llselectmgr.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-04-22 21:40:38 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-04-22 21:40:38 +0100
commit919d3c992e237b7497450cf17474a6b2c8d557d9 (patch)
treed9f020463395bbf77cb4cd65398575172444a476 /indra/newview/llselectmgr.cpp
parent95e45c1abd89fbfaf8378360067bddb5a67d55fa (diff)
Backed out changeset 78dddb3a1dd3
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
-rw-r--r--indra/newview/llselectmgr.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index d15017e0a1..d03a492cd1 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -3931,28 +3931,6 @@ void LLSelectMgr::selectionUpdateCastShadows(BOOL cast_shadows)
getSelection()->applyToObjects(&func);
}
-struct LLSelectMgrApplyPhysicsRep : public LLSelectedObjectFunctor
-{
- LLSelectMgrApplyPhysicsRep(U8 value) : mValue(value) {}
- U8 mValue;
- virtual bool apply(LLViewerObject* object)
- {
- if ( object->permModify() ) // preemptive permissions check
- {
- object->setPhysicsRep( mValue );
- object->updateFlags();
- }
- return true;
- }
-};
-
-
-void LLSelectMgr::selectionUpdatePhysicsRep(U8 rep)
-{
- llwarns << "physics rep ->" << (U32)rep << llendl;
- LLSelectMgrApplyPhysicsRep func(rep);
- getSelection()->applyToObjects(&func);
-}
//----------------------------------------------------------------------
// Helpful packing functions for sendObjectMessage()
@@ -4642,6 +4620,7 @@ void LLSelectMgr::processForceObjectSelect(LLMessageSystem* msg, void**)
LLSelectMgr::getInstance()->highlightObjectAndFamily(objects);
}
+
extern LLGLdouble gGLModelView[16];
void LLSelectMgr::updateSilhouettes()