Commit 8364f233 authored by Jérémie Dudouet's avatar Jérémie Dudouet
Browse files

Correct the new reading of the LUT

parent 9baa2e00
Pipeline #43933 passed with stage
in 7 minutes and 3 seconds
......@@ -560,7 +560,7 @@ void FSMainWindow::ReadLUT()
if(Buffer.BeginsWith("#") || Buffer.Length()==0 ) continue;
TObjArray *loa=Buffer.ReplaceAll("\t"," ").Tokenize(" ");
if(loa->GetEntries() != 5) {
if(loa->GetEntries() < 5) {
ERR_MESS<<"Error in LUT.txt at line "<<linenb<<" ; skipped"<<ENDL;
delete loa;
continue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment