diff --git a/relight-cli/main.cpp b/relight-cli/main.cpp index f50c9d6..1907011 100644 --- a/relight-cli/main.cpp +++ b/relight-cli/main.cpp @@ -413,7 +413,7 @@ int main(int argc, char *argv[]) { return 1; } - } if(info.suffix() == "json") { + } else if(info.suffix() == "json") { return convertToRTI(input.c_str(), output.c_str()); } else if(info.suffix() == "rti" || info.suffix() == "ptm") {