archipack: remove thumbs and hide presets for bl_load_py_modules.py

This commit is contained in:
stephen leger 2017-08-01 17:03:42 +02:00
parent 2ec5205be7
commit 9d3a25cac0
94 changed files with 11 additions and 3 deletions

View File

@ -0,0 +1,8 @@
DEFAULT##|##Wall_inside
DEFAULT##|##Wall_outside
DEFAULT##|##Wall_cuts
DEFAULT##|##Wall_alt1
DEFAULT##|##Wall_alt2
DEFAULT##|##Wall_alt3
DEFAULT##|##Wall_alt4
DEFAULT##|##Wall_alt5

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -235,19 +235,19 @@ class PresetMenu():
self.imageList.append(self.default_image.filepath_raw)
return
dir_path = os.path.dirname(os.path.realpath(__file__))
sub_path = "presets" + os.path.sep + "missing.png"
sub_path = "_presets" + os.path.sep + "missing.png"
filepath = os.path.join(dir_path, sub_path)
if os.path.exists(filepath) and os.path.isfile(filepath):
self.default_image = bpy.data.images.load(filepath=filepath)
self.imageList.append(self.default_image.filepath_raw)
if self.default_image is None:
raise EnvironmentError("archipack/presets/missing.png not found")
raise EnvironmentError("archipack/_presets/missing.png not found")
def scan_files(self, category):
file_list = []
# load default presets
dir_path = os.path.dirname(os.path.realpath(__file__))
sub_path = "presets" + os.path.sep + category
sub_path = "_presets" + os.path.sep + category
presets_path = os.path.join(dir_path, sub_path)
if os.path.exists(presets_path):
file_list += [presets_path + os.path.sep + f[:-3]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB