Commit 22e484914be5a35a016aadca01640b9304b0c2d2
1 parent
d9ec904f
Exists in
master
and in
44 other branches
Start TT id to 1
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/ParamOutputImpl/Plot/PanelPlotOutput.cc
... | ... | @@ -2285,7 +2285,7 @@ namespace plot |
2285 | 2285 | { |
2286 | 2286 | writer.startElement("intervals"); |
2287 | 2287 | writer.addAttribute("name", inputTTOrCat._name.c_str()); |
2288 | - writer.addAttribute("id", std::to_string(it->_index).c_str()); | |
2288 | + writer.addAttribute("id", std::to_string(it->_index + 1).c_str()); | |
2289 | 2289 | writer.addAttribute("startTime", std::to_string(startTime).c_str()); |
2290 | 2290 | writer.addAttribute("stopTime", std::to_string(stopTime).c_str()); |
2291 | 2291 | if (needCatWriter) | ... | ... |