How can i detect if a mesh object has been changed during edit mode?

by Gaia Clary   Last Updated July 07, 2018 21:15 PM

Assume a user steps into edit mode (of a MESH object), then later switches back to Object mode.

I would like to distinguish between the 2 situations:

  1. The user has stepped into Edit mode only for inspection
  2. The user has modified something while in edit mode

Actually i do not even need to know what was changed, only that something has changed. Can this be detected with Python?

Tags : python mesh

Related Questions

Blender Python mesh.from_pydata?

Updated May 15, 2015 21:06 PM

create mesh then add vertices to it in python

Updated August 29, 2016 08:06 AM

python mathematical problem

Updated March 20, 2017 10:15 AM