Added isAgentAvatarValid() helper function from v2

Nullchecks
Flight-state tweaks
This commit is contained in:
Shyotl
2011-03-25 17:50:06 -05:00
parent 39af56c6f7
commit f73c666f0e
7 changed files with 119 additions and 98 deletions

View File

@@ -960,6 +960,7 @@ LLSurfacePatch *LLSurface::resolvePatchRegion(const LLVector3 &pos_region) const
LLSurfacePatch *LLSurface::resolvePatchGlobal(const LLVector3d &pos_global) const
{
llassert(mRegionp);
LLVector3 pos_region = mRegionp->getPosRegionFromGlobal(pos_global);
return resolvePatchRegion(pos_region);
}