Nenad, The list returned by vtkSMReaderFactory::GetReaders() is list of 3-tuples, hence the check for > 3.
Utkarsh On Mon, Mar 28, 2011 at 5:34 PM, Nenad Vujicic <[email protected]> wrote: > Hello everyone, > > I had problems when loading files for which there are more then one > readers available. When I looked at > Qt/ApplicationComponents/pqLoadDataReaction.cxx I noticed in > pqLoadDataReaction::DetermineFileReader() Ln 187, pqSelectReaderDialog > is shown only when there are more then 3 available readers! Shouldn't > it be shown when there are more then 1 available reader, i.e. > > if(list->GetLength() > 3) > > be replaced with > > if(list->GetLength() > 1)? > > Thanks, > Nenad. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
