diff options
author | Vilem Duha <vilem.duha@gmail.com> | 2021-10-12 15:49:45 +0300 |
---|---|---|
committer | Vilem Duha <vilem.duha@gmail.com> | 2021-10-13 12:54:07 +0300 |
commit | 5103e930330419d6783350f79937c6176779bd61 (patch) | |
tree | d75061c67d6e978f6bb41c4e692f14bf6e0f59e4 /blenderkit/autothumb.py | |
parent | 874eebc2e5cf3b7c11adb431f0b4e42cf40bf663 (diff) |
BlenderKit: bring search props to window_manager
this avoids some trouble, e.g. during switching to appended scenes.
Diffstat (limited to 'blenderkit/autothumb.py')
-rw-r--r-- | blenderkit/autothumb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blenderkit/autothumb.py b/blenderkit/autothumb.py index f5e0cd34..2d376852 100644 --- a/blenderkit/autothumb.py +++ b/blenderkit/autothumb.py @@ -640,7 +640,7 @@ class ReGenerateMaterialThumbnailOperator(bpy.types.Operator): def invoke(self, context, event): # scene = bpy.context.scene - # ui_props = scene.blenderkitUI + # ui_props = bpy.context.window_manager.blenderkitUI # if ui_props.active_index > -1: # sr = bpy.context.window_manager['search results'] # self.asset_data = dict(sr[ui_props.active_index]) |