Skip to content
Snippets Groups Projects
Commit 7a6ccaf8 authored by Martin Buerbaum's avatar Martin Buerbaum
Browse files

* Improved the "Transparency Method" selection GUI.

* Cleanup up some PEP8 stuff.
parent 8dc82764
No related branches found
No related tags found
No related merge requests found
...@@ -388,8 +388,10 @@ class planes_from_images(bpy.types.Operator): ...@@ -388,8 +388,10 @@ class planes_from_images(bpy.types.Operator):
default=False) default=False)
extEnum = [ extEnum = [
('*', 'All image formats', 'Import all know image (or movie) formats.'), ('*', 'All image formats',
('jpeg', 'JPEG (.jpg, .jpeg, .jpe)', 'Joint Photographic Experts Group'), 'Import all know image (or movie) formats.'),
('jpeg', 'JPEG (.jpg, .jpeg, .jpe)',
'Joint Photographic Experts Group'),
('png', 'PNG (.png)', 'Portable Network Graphics'), ('png', 'PNG (.png)', 'Portable Network Graphics'),
('tga', 'Truevision TGA (.tga, tpic)', ''), ('tga', 'Truevision TGA (.tga, tpic)', ''),
('tiff', 'TIFF (.tif, .tiff)', 'Tagged Image File Format'), ('tiff', 'TIFF (.tif, .tiff)', 'Tagged Image File Format'),
...@@ -418,9 +420,13 @@ class planes_from_images(bpy.types.Operator): ...@@ -418,9 +420,13 @@ class planes_from_images(bpy.types.Operator):
default=False) default=False)
tEnum = [ tEnum = [
('Z_TRANSPARENCY', 'Z_TRANSPARENCY', 'Z_TRANSPARENCY'), ('Z_TRANSPARENCY',
('RAYTRACE', 'RAYTRACE', 'RAYTRACE')] 'Z Transparency',
transp_method = EnumProperty(name="transMethod", 'Use alpha buffer for transparent faces'),
('RAYTRACE',
'Raytrace',
'Use raytracing for transparent refraction rendering.')]
transp_method = EnumProperty(name="Transp. Method",
description="Transparency Method", description="Transparency Method",
items=tEnum) items=tEnum)
useDim = BoolProperty(name="Use image dimensions", useDim = BoolProperty(name="Use image dimensions",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment