From d50fded04deac690d678999c461d28e1bc131091 Mon Sep 17 00:00:00 2001 From: Shweet Date: Mon, 1 Sep 2025 18:09:26 -0400 Subject: [PATCH] Update cmake --- CMakeLists.txt | 5 ++++- src/imgui.cpp | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee59f4f..8ce9e27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,10 @@ find_package(GLEW REQUIRED) find_package(OpenGL REQUIRED) file(GLOB SOURCES - include/imgui/*.cpp + include/imgui/imgui.cpp + include/imgui/imgui_draw.cpp + include/imgui/imgui_widgets.cpp + include/imgui/imgui_tables.cpp include/imgui/backends/imgui_impl_sdl3.cpp include/imgui/backends/imgui_impl_opengl3.cpp include/tinyxml2/tinyxml2.cpp diff --git a/src/imgui.cpp b/src/imgui.cpp index ddc3f7e..ecf3bcf 100644 --- a/src/imgui.cpp +++ b/src/imgui.cpp @@ -2661,6 +2661,11 @@ void imgui_update(Imgui* self) } } + if (map_find(self->anm2->layers, -1)) + printf("Layers -1\n"); + + if (map_find(self->anm2->spritesheets, -1)) + printf("Spritesheets -1\n"); } void imgui_draw(void)