feat: flush history on collection and scene update only

feat: enable deploy for undo branch
This commit is contained in:
Swann
2020-12-23 18:46:29 +01:00
parent 2f4e30f432
commit 3d9da73ab0
7 changed files with 22 additions and 10 deletions

View File

@ -99,8 +99,7 @@ def initialize_session():
bpy.ops.session.apply_armature_operator('INVOKE_DEFAULT')
# Step 0: Clearing history
for i in range(bpy.context.preferences.edit.undo_steps+1):
bpy.ops.ed.undo_push(message="Multiuser history flush")
utils.flush_history()
@session_callback('on_exit')