diff options
| author | Kitty Barnett <develop@catznip.com> | 2013-05-12 13:02:54 +0200 |
|---|---|---|
| committer | Kitty Barnett <develop@catznip.com> | 2013-05-12 13:02:54 +0200 |
| commit | c2c9380fe135fd8b191ebe3c9a38129af4994ed8 (patch) | |
| tree | de1071f7a07703295ca515b9248db9fd801ea82b /indra/newview/llvovolume.cpp | |
| parent | c486d9498b8274e0fd9c7cba616df10f6a7d8977 (diff) | |
Avoid code duplication in LLMaterialMgr
Diffstat (limited to 'indra/newview/llvovolume.cpp')
| -rwxr-xr-x | indra/newview/llvovolume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index df014513ad..734ac2afc8 100755 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -1992,7 +1992,7 @@ S32 LLVOVolume::setTEMaterialID(const U8 te, const LLMaterialID& pMaterialID) LL_DEBUGS("MaterialTEs") << " " << pMaterialID.asString() << LL_ENDL; // Use TE-specific version of boost CB hook-up to avoid cross-contaminatin' - LLMaterialMgr::instance().getTE(getRegion()->getRegionID(), pMaterialID, te, boost::bind(&LLVOVolume::setTEMaterialParamsCallback, this, _1, _2, _3)); + LLMaterialMgr::instance().get(getRegion()->getRegionID(), pMaterialID, boost::bind(&LLVOVolume::setTEMaterialParamsCallback, this, _1, _2, te)); setChanged(TEXTURE); if (!mDrawable.isNull()) { |
