MantisBT - Old ParaView Bugs
View Issue Details
0002030Old ParaView Bugs public2005-07-07 13:242005-07-07 13:24
Brad King 
Berk Geveci 
highfeaturealways
assignedopen 
0002030: Better ordering for readers and CanReadFile
Some readers implement CanReadFile and others do not. Currently if a reader that does not have CanReadFile comes before a reader with CanReadFile it will always be used. Try opening VTKData/Data/teapot.g with the Exodus reader enabled.

Selecting a reader should follow steps like this:

1.) Select a set of candidates based on extension.
2.) Call CanReadFile on those that provide it. If any returns non-zero use the first highest return value.
3.) Otherwise use the first reader that does not have CanReadFile.

We should also have a better review process for which readers can implement CanReadFile. Since the method has several return values it is sometimes possible to do some preliminary quick checks even if a full CanReadFile cannot be implemented.
No tags attached.
Issue History

There are no notes attached to this issue.