diff options
author | Vilém Duha <vilda.novak@gmail.com> | 2019-07-10 11:22:37 +0300 |
---|---|---|
committer | Vilém Duha <vilda.novak@gmail.com> | 2019-07-10 11:23:02 +0300 |
commit | f54338c63ba36cbbe83161c0b3d4d2b1aa01c4a9 (patch) | |
tree | dd44d5429b6fd48f91dfbc44a3856a21b1213543 /blenderkit/__init__.py | |
parent | aa3366b7805bbe4d1afee890bda81b6d91bd47be (diff) |
BlenderKit: thumbnailer ball, cube, cloth support now microdisplacement,v2.80-rc1
also previews now scale textures properly.
Diffstat (limited to 'blenderkit/__init__.py')
-rw-r--r-- | blenderkit/__init__.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/blenderkit/__init__.py b/blenderkit/__init__.py index a3da6025..4fbf3783 100644 --- a/blenderkit/__init__.py +++ b/blenderkit/__init__.py @@ -173,6 +173,12 @@ thumbnail_snap = ( ('FLOAT', 'floating', ''), ) +thumbnail_resolutions = ( + ('256', '256', ''), + ('512', '512 - minimum for public', ''), + ('1024', '1024', ''), + ('2048', '2048', ''), +) def get_upload_asset_type(self): typemapper = { @@ -633,6 +639,13 @@ class BlenderKitMaterialUploadProps(PropertyGroup, BlenderKitCommonUploadProps): adaptive_subdivision: BoolProperty(name="Adaptive Subdivide", description="Use adaptive displacement subdivision", default=False) + thumbnail_resolution: EnumProperty( + name="Resolution", + items=thumbnail_resolutions, + description="Thumbnail resolution.", + default="512", + ) + thumbnail_generator_type: EnumProperty( name="Thumbnail Style", items=( |