Removed unuseful check from method PrimitiveData::generateOGLData().