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):
default=False)
extEnum = [
('*', 'All image formats', 'Import all know image (or movie) formats.'),
('jpeg', 'JPEG (.jpg, .jpeg, .jpe)', 'Joint Photographic Experts Group'),
('*', 'All image formats',
'Import all know image (or movie) formats.'),
('jpeg', 'JPEG (.jpg, .jpeg, .jpe)',
'Joint Photographic Experts Group'),
('png', 'PNG (.png)', 'Portable Network Graphics'),
('tga', 'Truevision TGA (.tga, tpic)', ''),
('tiff', 'TIFF (.tif, .tiff)', 'Tagged Image File Format'),
......@@ -418,9 +420,13 @@ class planes_from_images(bpy.types.Operator):
default=False)
tEnum = [
('Z_TRANSPARENCY', 'Z_TRANSPARENCY', 'Z_TRANSPARENCY'),
('RAYTRACE', 'RAYTRACE', 'RAYTRACE')]
transp_method = EnumProperty(name="transMethod",
('Z_TRANSPARENCY',
'Z Transparency',
'Use alpha buffer for transparent faces'),
('RAYTRACE',
'Raytrace',
'Use raytracing for transparent refraction rendering.')]
transp_method = EnumProperty(name="Transp. Method",
description="Transparency Method",
items=tEnum)
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