[Bf-extensions-cvs] [d14e2b6a] master: BlenderKit: fix material thumbnailer when background is on.

Vilém Duha noreply at git.blender.org
Mon Aug 12 16:05:29 CEST 2019


Commit: d14e2b6a3522c627cb631d55f35a388dff582583
Author: Vilém Duha
Date:   Mon Aug 12 16:04:19 2019 +0200
Branches: master
https://developer.blender.org/rBAd14e2b6a3522c627cb631d55f35a388dff582583

BlenderKit: fix material thumbnailer when background is on.

===================================================================

M	blenderkit/autothumb_material_bg.py

===================================================================

diff --git a/blenderkit/autothumb_material_bg.py b/blenderkit/autothumb_material_bg.py
index e54500fc..51552c79 100644
--- a/blenderkit/autothumb_material_bg.py
+++ b/blenderkit/autothumb_material_bg.py
@@ -70,7 +70,7 @@ if __name__ == "__main__":
 
         unhide_collection(colmapdict[data["thumbnail_type"]])
         if data['thumbnail_background']:
-            unhide_collection('Collection 13')
+            unhide_collection('Background')
             bpy.data.materials["bg checker colorable"].node_tree.nodes['input_level'].outputs['Value'].default_value \
                 = data['thumbnail_background_lightness']
         tscale = data["thumbnail_scale"]



More information about the Bf-extensions-cvs mailing list