Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVilém Duha <vilda.novak@gmail.com>2020-04-03 04:34:33 +0300
committerVilém Duha <vilda.novak@gmail.com>2020-04-03 04:34:33 +0300
commitbc464cfc9708ef10fef4f1d5b6afa435067ea11d (patch)
tree61563f0c8180cf5b0d76d108cf722dba11809ad3 /blenderkit/bg_blender.py
parent6f53879aaa9d0ca9691761609109be11b0daaf92 (diff)
BlenderKit: fix T73507
This could hopefully work. While I managed to finally reproduce the bug, I manged to get it not to happen without actually finding the reason for the keys getting stuck. The reason seem to be persistent timers.
Diffstat (limited to 'blenderkit/bg_blender.py')
-rw-r--r--blenderkit/bg_blender.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/blenderkit/bg_blender.py b/blenderkit/bg_blender.py
index 8a37f6ce..f646636b 100644
--- a/blenderkit/bg_blender.py
+++ b/blenderkit/bg_blender.py
@@ -97,7 +97,7 @@ def progress(text, n=None):
sys.stdout.flush()
-@bpy.app.handlers.persistent
+# @bpy.app.handlers.persistent
def bg_update():
'''monitoring of background process'''
text = ''
@@ -232,7 +232,7 @@ def add_bg_process(location=None, name=None, eval_path_computing='', eval_path_s
def register():
bpy.utils.register_class(KillBgProcess)
- bpy.app.timers.register(bg_update, persistent=True)
+ bpy.app.timers.register(bg_update)
def unregister():