Is there any way to ask viz, through code, if the scene is "dirty"?
Usually the "dirty" state is False right after the scene is opened, a Save, or a Save as...
And, as soon as something changes, the scene gets "dirty".
So, if the scene is not "dirty", when closing a scene we are not asked if we want to save the changes.
I really needed to know, in code, if the scene was changed, somehow.
Usually the "dirty" state is False right after the scene is opened, a Save, or a Save as...
And, as soon as something changes, the scene gets "dirty".
So, if the scene is not "dirty", when closing a scene we are not asked if we want to save the changes.
I really needed to know, in code, if the scene was changed, somehow.