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
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user