Lindie viewer-dev catchup regarding rendering pipeline.

This commit is contained in:
Shyotl
2012-06-30 20:05:31 -05:00
parent a8ebd6eebb
commit 67e1a3b004
87 changed files with 3880 additions and 2180 deletions

View File

@@ -283,6 +283,7 @@ public:
HAS_ALPHA = 0x04000000,
RIGGED = 0x08000000,
PARTITION_MOVE = 0x10000000,
ANIMATED_CHILD = 0x20000000,
} EDrawableFlags;
private: //aligned members
@@ -339,12 +340,14 @@ inline LLFace* LLDrawable::getFace(const S32 i) const
if ((U32) i >= mFaces.size())
{
llerrs << "Invalid face index." << llendl;
llwarns << "Invalid face index." << llendl;
return NULL;
}
if (!mFaces[i])
{
llerrs << "Null face found." << llendl;
llwarns << "Null face found." << llendl;
return NULL;
}
return mFaces[i];