Stykka / glTF-Bin

[Deprecated See https://github.com/mcneel/glTF-IO] glTF exporter for Rhinoceros. Supports: mode-text, mode-binary, binary-draco, materials, and textures.
MIT License
31 stars 18 forks source link

Suppress options dialog when export command is run #75

Closed jrz371 closed 2 years ago

jrz371 commented 2 years ago

Currently in WriteFile the options dialog is show if the option to not save settings is selected

https://github.com/Stykka/glTF-Bin/blob/ac5c615a3941eda608c25bdfef3b2534a0469860/glTF-BinExporter/glTFBinExporterPlugin.cs#L40

The FileWriteOptions has a SuppressDialogBoxes that also needs to be taken into account

jrz371 commented 2 years ago

We'll have this user test and close if it works https://discourse.mcneel.com/t/gltf-binexporter-question-how-to-suppress-the-ui-dialog/143451

jrz371 commented 2 years ago

Based on the response I think it's fair to assume the fix worked