hypersuperduper
New member
I have a new lscript I am working on that inspects the scene file to help identify and present dependencies and references to the selected object in the scene. It works pretty well, and can find everything from expression references to nodal motion references to ik dependencies and spline control but since I am parsing the scene file I want to make sure that it is up to date because inspecting an out of date scene file will give the user bad info. I could of course just make the script save the scene, but that seems a little presumptive. what i would like to do is trigger an error if you have changes in layout that aren't saved, so that the user has an opportunity to save the scene.
How do I go about checking if the scene has been changed?
How do I go about checking if the scene has been changed?