diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-16 15:06:45 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-16 15:06:45 -0400 |
commit | e89dc91182a94e48ca9220a2fe075db680ddff04 (patch) | |
tree | a277c1e38293f92e635c981ad2f6b0d84d103e09 /main.cpp | |
parent | 04b7ccfd87d802e6b9a22b86c8d098979164b8ba (diff) |
undo functional
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -99,7 +99,7 @@ MainFunction(main_sdl *Main, memory *Memory, CalculateKeyframesLinearly(File->CurrentFrame, &Layer->Property[r]); } } - Layer_UpdateBitmap(Layer, Memory, File->CurrentFrame); + Layer_UpdateBitmap(File, Layer, Memory, File->CurrentFrame); } } State->UpdateKeyframes = false; @@ -262,7 +262,6 @@ int main(int argc, char *argv[]) { LoadTestFootage(&File, &State, &Memory); - Assert(0); #if DEBUG // GDB and LLDB say this plain struct that's literally under 30 bytes is @@ -462,7 +461,9 @@ int main(int argc, char *argv[]) { ImGui_PropertiesPanel(&File, &State, &UI, &Memory); ImGui_Timeline(&File, &State, &Memory, &UI, io); + #if DEBUG + ImGui_DebugUndoTree(&File, &Memory); if (Debug.ToggleWindow) { ImGui::ShowDemoWindow(); ImGui_DebugMemoryViewer(&File, &Memory); |