diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-22 21:40:49 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-22 21:40:49 +0100 |
commit | 1bf25c9f4855bd7ea9839461ff3f52c3653c0fb2 (patch) | |
tree | b5f6fffc29ef1c8f4580843f0734dd7fb93b4d84 /indra/newview/llselectmgr.cpp | |
parent | 467c16401fea5a52a3ca9c526356091d5e778ba7 (diff) | |
parent | 9226d42d12b9edb792d65b28254c633d0dc64edc (diff) |
merge
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
-rw-r--r-- | indra/newview/llselectmgr.cpp | 23 |
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() |