Lindie viewer-dev catchup regarding rendering pipeline.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user