'Marks all pending updates as processed'

def clear_updates(self):

    self.children_changed = False
    self.invalidated = False
    for property in self.properties:
        self.properties_dirty[property] = False
    if self.visible:
        for child in self.children:
            child.clear_updates()
