From d78bb294ed1d1d3d3983ec4661bfb388fdda1977 Mon Sep 17 00:00:00 2001 From: Powei Feng Date: Fri, 6 Mar 2026 09:46:13 -0800 Subject: [PATCH] gltf-viewer: enable animation by default (#9778) The toggle for animation was added recently to Settings and default to false. This differs from before where animation is always assumed to be enabled. For gltf_viewer's interactive mode, we enable animation. (Batch mode will still have animation off). Fixes #9775 --- samples/gltf_viewer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/samples/gltf_viewer.cpp b/samples/gltf_viewer.cpp index 3e5f2f58b6..82df3bddb0 100644 --- a/samples/gltf_viewer.cpp +++ b/samples/gltf_viewer.cpp @@ -782,6 +782,9 @@ int main(int argc, char** argv) { : AutomationEngine::Options::ExportFormat::TIFF; app.automationEngine->setOptions(options); app.viewer->getSettings().animation.enabled = false; + } else { + // Enable animation by default for interactive mode (non-batch mode). + app.viewer->getSettings().animation.enabled = true; } if (!app.settingsFile.empty()) {