diff options
author | Ryan Inch <mythologylover75@gmail.com> | 2021-03-16 23:57:56 +0300 |
---|---|---|
committer | Ryan Inch <mythologylover75@gmail.com> | 2021-03-17 00:03:51 +0300 |
commit | 88db9c67be6b851ca1a0edf9afab35531f5b1961 (patch) | |
tree | 271f2ec1d3ec0a4c60485396854fd24f33d4f5a8 /object_collection_manager/cm_init.py | |
parent | e24ff87b48445467f673641504fde759da531148 (diff) |
Collection Manager: Add undo support. Task: T69577
Add undo and redo buttons to the CM popup.
These buttons use operators that wrap the internal undo/redo
operators with handling of CM internal data.
Diffstat (limited to 'object_collection_manager/cm_init.py')
-rw-r--r-- | object_collection_manager/cm_init.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/object_collection_manager/cm_init.py b/object_collection_manager/cm_init.py index 9d0afea3..54d616ce 100644 --- a/object_collection_manager/cm_init.py +++ b/object_collection_manager/cm_init.py @@ -104,6 +104,8 @@ classes = ( operators.CMDisableObjectsOperator, operators.CMDisableUnSelectedObjectsOperator, operators.CMRestoreDisabledObjectsOperator, + operators.CMUndoWrapper, + operators.CMRedoWrapper, preferences.CMPreferences, ui.CM_UL_items, ui.CollectionManager, |