def __sel_verts_changed(self, context):
    obj = context.active_object
    bm = bmesh.from_edit_mesh(obj.data)
    if (common.check_version(2, 73, 0) >= 0):
        bm.verts.ensure_lookup_table()
        bm.edges.ensure_lookup_table()
        bm.faces.ensure_lookup_table()
    prev = set(self.__intr_verts)
    now = set([v.index for v in bm.verts if v.select])
    return (prev != now)
def __sel_verts_changed(self, context):
    obj = context.active_object
    bm = bmesh.from_edit_mesh(obj.data)
    if (common.check_version(2, 73, 0) >= 0):
        bm.verts.ensure_lookup_table()
        bm.edges.ensure_lookup_table()
        bm.faces.ensure_lookup_table()
    prev = set(self.__intr_verts)
    now = set([v.index for v in bm.verts if v.select])
    return (prev != now)