diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-22 21:40:30 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-22 21:40:30 +0100 |
commit | cae68b48ec47265c8fd095fbbbb870233cccd52f (patch) | |
tree | 20b24067bef52b664c9c1f9abddbce9db23594aa /indra/newview/llselectmgr.cpp | |
parent | 43b0a2bde4beecb08585ef1fb9003720cf5cdc7b (diff) | |
parent | 4391b48ed8aba2c004958c3b0630d58b81a0720f (diff) |
merge
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
-rw-r--r-- | indra/newview/llselectmgr.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp index d47cc06ebc..d15017e0a1 100644 --- a/indra/newview/llselectmgr.cpp +++ b/indra/newview/llselectmgr.cpp @@ -3931,15 +3931,15 @@ void LLSelectMgr::selectionUpdateCastShadows(BOOL cast_shadows) getSelection()->applyToObjects(&func); } -struct LLSelectMgrApplyPhysicsShapeType : public LLSelectedObjectFunctor +struct LLSelectMgrApplyPhysicsRep : public LLSelectedObjectFunctor { - LLSelectMgrApplyPhysicsShapeType(U8 value) : mValue(value) {} + LLSelectMgrApplyPhysicsRep(U8 value) : mValue(value) {} U8 mValue; virtual bool apply(LLViewerObject* object) { if ( object->permModify() ) // preemptive permissions check { - object->setPhysicsShapeType( mValue ); + object->setPhysicsRep( mValue ); object->updateFlags(); } return true; @@ -3947,10 +3947,10 @@ struct LLSelectMgrApplyPhysicsShapeType : public LLSelectedObjectFunctor }; -void LLSelectMgr::selectionUpdatePhysicsShapeType(U8 type) +void LLSelectMgr::selectionUpdatePhysicsRep(U8 rep) { - llwarns << "physics shape type ->" << (U32)type << llendl; - LLSelectMgrApplyPhysicsShapeType func(type); + llwarns << "physics rep ->" << (U32)rep << llendl; + LLSelectMgrApplyPhysicsRep func(rep); getSelection()->applyToObjects(&func); } |