message: show camera path checkbox with play/pause
diff: @@ -1680,20 +1680,6 @@ void MainWindow::buildWindowKeyframes()
  "Animation speed for computed path. \n"
  "Slow speeds may cause jitter for small objects");
  }
  - }
  -
  - if (ImGui::ListBoxHeader("##")) {
  - for (int i = 0; i < cameraStack.size(); i++) {
  - if (ImGui::Selectable(
  - (std::to_string(i) + ": " + to_string(cameraStack[i])).c_str(),
  - (g_camSelectedStackIndex == (int) i))) {
  - g_camSelectedStackIndex = i;
  - arcballCamera->setState(cameraStack[i]);
  - updateCamera();
  - }
  - }
  - ImGui::ListBoxFooter();
  - }
  static bool showCameraPath = false;
  if (ImGui::Checkbox("show camera path", &showCameraPath)) {
  @@ -1730,6 +1716,20 @@ void MainWindow::buildWindowKeyframes()
  frame->child("world").add(path);
  }
  }
  + }
  +
  + if (ImGui::ListBoxHeader("##")) {
  + for (int i = 0; i < cameraStack.size(); i++) {
  + if (ImGui::Selectable(
  + (std::to_string(i) + ": " + to_string(cameraStack[i])).c_str(),
  + (g_camSelectedStackIndex == (int) i))) {
  + g_camSelectedStackIndex = i;
  + arcballCamera->setState(cameraStack[i]);
  + updateCamera();
  + }
  + }
  + ImGui::ListBoxFooter();
  + }
  ImGui::End();
  }
  