01-22-2013, 04:14 AM
You can set the pref to get the initial preview mode. But set it back to whatever it was after.
The other part about the st being reused gets complicated.
Currently there are no real optimizations, but there should be.
I could try and fix things, but lately I'm having trouble concentrating on the code long enough to get anything done. If someone wants to continue the work on previews, please do. Part of the problem, as I remember was keeping the undo stack proper.
Code:
PreviewMode = wings_pref:set_value(preview_dialog, auto_preview)
The other part about the st being reused gets complicated.
Currently there are no real optimizations, but there should be.
I could try and fix things, but lately I'm having trouble concentrating on the code long enough to get anything done. If someone wants to continue the work on previews, please do. Part of the problem, as I remember was keeping the undo stack proper.