I tried to move the `cmds.undoInfo` into list_item_click() method where the chunk will be opened and closed upon the renaming (after the self.validate_naming) and before I perform any undo, I tried to print out the list of undo in the queue, in which it returns me as follows:
cmds.undoInfo(query=True, printQueue=True) # Returns the following result: ... # 39: # # 40: # # 41: # # 42: # # 43: MyTool_chunkName # # 44: # # 45: # # 46: # # 47: # # 48: # # 49: # At the very least I had thought I would be able to capture this process as 1 action. Is there a way to remove all these 'empty' undo actions? -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/b752c70e-e87b-4c6d-bd1b-307dbc4fd45f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.