clean: remove push timer

This commit is contained in:
Swann
2021-01-15 16:41:32 +01:00
parent 89a8891073
commit a212445927
2 changed files with 0 additions and 32 deletions

View File

@ -53,8 +53,6 @@ from .presence import SessionStatusWidget, renderer, view3d_find
from .timers import registry
background_execution_queue = Queue()
stagging = list()
locking = False
deleyables = []
stop_modal_executor = False
@ -995,9 +993,6 @@ def depsgraph_evaluation(scene):
else:
continue
@persistent
def clear_staging(dummy):
stagging.clear()
def register():
from bpy.utils import register_class
@ -1005,8 +1000,6 @@ def register():
for cls in classes:
register_class(cls)
bpy.app.handlers.undo_pre.append(clear_staging)
bpy.app.handlers.redo_pre.append(clear_staging)
bpy.app.handlers.undo_post.append(sanitize_deps_graph)
bpy.app.handlers.redo_post.append(sanitize_deps_graph)
@ -1023,9 +1016,6 @@ def unregister():
for cls in reversed(classes):
unregister_class(cls)
bpy.app.handlers.undo_pre.remove(clear_staging)
bpy.app.handlers.redo_pre.remove(clear_staging)
bpy.app.handlers.undo_post.remove(sanitize_deps_graph)
bpy.app.handlers.redo_post.remove(sanitize_deps_graph)