Remove implot from toolbox/window.cc
PiperOrigin-RevId: 830842619 Change-Id: I39d13508423ad0ba1e12349ceaccab2425d28243
This commit is contained in:
committed by
Copybara-Service
parent
23023edc52
commit
88e75cd7e6
@@ -119,6 +119,7 @@ App::App(int width, int height, std::string ini_path,
|
||||
: ini_path_(std::move(ini_path)), load_asset_fn_(load_asset_fn) {
|
||||
window_ = std::make_unique<toolbox::Window>("MuJoCo Studio", width, height,
|
||||
kWindowConfig, load_asset_fn);
|
||||
ImPlot::CreateContext();
|
||||
|
||||
auto make_context_fn = [&](const mjModel* m, mjrContext* con) {
|
||||
#if defined(USE_CLASSIC_OPENGL)
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <SDL_video.h>
|
||||
#include <backends/imgui_impl_sdl2.h>
|
||||
#include <imgui.h>
|
||||
#include <implot.h>
|
||||
#include "experimental/toolbox/helpers.h"
|
||||
#include <mujoco/mujoco.h>
|
||||
|
||||
@@ -39,7 +38,6 @@ namespace mujoco::toolbox {
|
||||
|
||||
static void InitImGui(SDL_Window* window, const LoadAssetFn& load_asset_fn) {
|
||||
ImGui::CreateContext();
|
||||
ImPlot::CreateContext();
|
||||
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
||||
|
||||
Reference in New Issue
Block a user