Never try to make a glwrap DrawFill over an empty mesh...

This commit is contained in:
Paolo Cignoni 2010-04-27 09:50:55 +00:00
parent e271f9adb8
commit aa04a96264
1 changed files with 1 additions and 1 deletions

View File

@ -419,11 +419,11 @@ void Draw()
template <NormalMode nm, ColorMode cm, TextureMode tm>
void DrawFill()
{
if(m->fn==0) return;
typename FACE_POINTER_CONTAINER::iterator fp;
typename MESH_TYPE::FaceIterator fi;
typename std::vector<typename MESH_TYPE::FaceType*>::iterator fip;
short curtexname=-1;