diff --git a/src/osgPlugins/OpenFlight/VertexPaletteManager.cpp b/src/osgPlugins/OpenFlight/VertexPaletteManager.cpp index 8c647cb09..ab0e4f0e6 100644 --- a/src/osgPlugins/OpenFlight/VertexPaletteManager.cpp +++ b/src/osgPlugins/OpenFlight/VertexPaletteManager.cpp @@ -231,20 +231,12 @@ VertexPaletteManager::writeRecords( const osg::Vec3dArray* v, const osg::Vec4Arr break; case VERTEX_CN: opcode = VERTEX_CN_OP; - if (!n) - OSG_WARN << "fltexp: VPM::writeRecords: no normal array." << std::endl; break; case VERTEX_CNT: opcode = VERTEX_CNT_OP; - if (!n) - OSG_WARN << "fltexp: VPM::writeRecords: no normal array." << std::endl; - if (!t) - OSG_WARN << "fltexp: VPM::writeRecords: no tex coord array." << std::endl; break; case VERTEX_CT: opcode = VERTEX_CT_OP; - if (!t) - OSG_WARN << "fltexp: VPM::writeRecords: no tex coord array." << std::endl; break; }