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>2019-07-10 11:22:37 +0300
committerVilém Duha <vilda.novak@gmail.com>2019-07-10 11:23:02 +0300
commitf54338c63ba36cbbe83161c0b3d4d2b1aa01c4a9 (patch)
treedd44d5429b6fd48f91dfbc44a3856a21b1213543 /blenderkit/autothumb.py
parentaa3366b7805bbe4d1afee890bda81b6d91bd47be (diff)
BlenderKit: thumbnailer ball, cube, cloth support now microdisplacement,v2.80-rc1
also previews now scale textures properly.
Diffstat (limited to 'blenderkit/autothumb.py')
-rw-r--r--blenderkit/autothumb.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/blenderkit/autothumb.py b/blenderkit/autothumb.py
index 2d05c5ee..c38be3d1 100644
--- a/blenderkit/autothumb.py
+++ b/blenderkit/autothumb.py
@@ -217,6 +217,7 @@ def start_material_thumbnailer(self, context):
"thumbnail_scale": bkit.thumbnail_scale,
"thumbnail_background": bkit.thumbnail_background,
"thumbnail_background_lightness": bkit.thumbnail_background_lightness,
+ "thumbnail_resolution": bkit.thumbnail_resolution,
"thumbnail_samples": bkit.thumbnail_samples,
"thumbnail_denoising": bkit.thumbnail_denoising,
"adaptive_subdivision": bkit.adaptive_subdivision,
@@ -270,6 +271,7 @@ class GenerateThumbnailOperator(bpy.types.Operator):
layout.prop(props, 'thumbnail_angle')
layout.prop(props, 'thumbnail_snap_to')
layout.prop(props, 'thumbnail_samples')
+ layout.prop(props, 'thumbnail_resolution')
layout.prop(props, 'thumbnail_denoising')
def execute(self, context):
@@ -301,6 +303,7 @@ class GenerateMaterialThumbnailOperator(bpy.types.Operator):
layout.prop(props, 'thumbnail_background')
if props.thumbnail_background:
layout.prop(props, 'thumbnail_background_lightness')
+ layout.prop(props, 'thumbnail_resolution')
layout.prop(props, 'thumbnail_samples')
layout.prop(props, 'thumbnail_denoising')
layout.prop(props, 'adaptive_subdivision')