Unsaved model warning in snapshot

Hi

i currently implement some functionality with snapshots i was wondering how the “model warning” works.
So in the method RestoreSnapshot you can provide the parameter bSkipUnsavedModelWarning. But no matter what value i provide there is no difference in behavior.
Also as i implemented my own IRhinoSnapshotsClient there are callbacks IsCurrentModelStateInAnySnapshot, but the get never hit.

Do i have a misunderstanding of this methods and callbacks or am i something missing?

The only thing I can think of is that you might have hidden the following dialog during a Rhino session by checking “Do not show this message again”.

SnapshotsUnsavedModelState

The IsCurrentModelStateInAnySnapshot function will not be called when the dialog is turned off.

The “ResetMessageBoxes” command should display the dialog again.

Yeah you are right :man_facepalming:. That was obvious.

Thanks