Skip to content
Snippets Groups Projects
Commit a926a2b9 authored by Campbell Barton's avatar Campbell Barton
Browse files

minor syntax change to addon headers

parent 8f5fe7f7
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,8 @@ bl_info = {
"location": "File > Import-Export",
"description": "Import-Export BVH from armature objects",
"warning": "",
"wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/MotionCapture_BVH"),
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/MotionCapture_BVH",
"tracker_url": "",
"support": 'OFFICIAL',
"category": "Import-Export"}
......
......@@ -27,10 +27,10 @@ bl_info = {
"location": "File > Import-Export > Stl",
"description": "Import-Export STL files",
"warning": "",
"wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/STL"),
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/STL",
"tracker_url": "https://projects.blender.org/tracker/index.php?"
"func=detail&aid=22837",
"func=detail&aid=22837",
"support": 'OFFICIAL',
"category": "Import-Export"}
......@@ -70,15 +70,17 @@ class ImportSTL(bpy.types.Operator, ImportHelper):
filename_ext = ".stl"
filter_glob = StringProperty(default="*.stl", options={'HIDDEN'})
files = CollectionProperty(name="File Path",
description="File path used for importing "
"the STL file",
type=bpy.types.OperatorFileListElement)
directory = StringProperty(subtype='DIR_PATH')
filter_glob = StringProperty(
default="*.stl",
options={'HIDDEN'},
)
files = CollectionProperty(
name="File Path",
type=bpy.types.OperatorFileListElement,
)
directory = StringProperty(
subtype='DIR_PATH',
)
def execute(self, context):
from . import stl_utils
from . import blender_utils
......@@ -98,7 +100,6 @@ class ImportSTL(bpy.types.Operator, ImportHelper):
for path in paths:
objName = bpy.path.display_name(os.path.basename(path))
tris, pts = stl_utils.read_stl(path)
blender_utils.create_and_link_mesh(objName, tris, pts)
return {'FINISHED'}
......
......@@ -27,10 +27,10 @@ bl_info = {
"location": "Image-Window > UVs > Export UV Layout",
"description": "Export the UV layout as a 2D graphic",
"warning": "",
"wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/UV_Layout"),
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/UV_Layout",
"tracker_url": "https://projects.blender.org/tracker/index.php?"
"func=detail&aid=22837",
"func=detail&aid=22837",
"support": 'OFFICIAL',
"category": "Import-Export"}
......
......@@ -24,11 +24,11 @@ bl_info = {
"blender": (2, 5, 7),
"api": 35622,
"location": "File > Import-Export",
"description": ("Import-Export 3DS, meshes, uvs, materials, textures, "
"cameras & lamps"),
"description": "Import-Export 3DS, meshes, uvs, materials, textures, "
"cameras & lamps",
"warning": "",
"wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/Autodesk_3DS"),
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/Autodesk_3DS",
"tracker_url": "",
"support": 'OFFICIAL',
"category": "Import-Export"}
......
......@@ -24,11 +24,11 @@ bl_info = {
"blender": (2, 5, 8),
"api": 38691,
"location": "File > Import-Export",
"description": ("Export FBX meshes, UV's, vertex colors, materials, "
"textures, cameras, lamps and actions"),
"description": "Export FBX meshes, UV's, vertex colors, materials, "
"textures, cameras, lamps and actions",
"warning": "",
"wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/Autodesk_FBX"),
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/Autodesk_FBX",
"tracker_url": "",
"support": 'OFFICIAL',
"category": "Import-Export"}
......
......@@ -24,11 +24,11 @@ bl_info = {
"blender": (2, 5, 7),
"api": 35622,
"location": "File > Export",
"description": ("Export MAP brushes, nurbs surfaces, "
"lamps and empties as map nodes"),
"description": "Export MAP brushes, nurbs surfaces, "
"lamps and empties as map nodes",
"warning": "",
"wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/Quake_MAP"),
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/Quake_MAP",
"tracker_url": "",
"support": 'OFFICIAL',
"category": "Import-Export"}
......
......@@ -24,11 +24,11 @@ bl_info = {
"blender": (2, 5, 8),
"api": 35622,
"location": "File > Import-Export",
"description": ("Import-Export OBJ, Import OBJ mesh, UV's, "
"materials and textures"),
"description": "Import-Export OBJ, Import OBJ mesh, UV's, "
"materials and textures",
"warning": "",
"wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/Wavefront_OBJ"),
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/Wavefront_OBJ",
"tracker_url": "",
"support": 'OFFICIAL',
"category": "Import-Export"}
......
......@@ -26,8 +26,8 @@ bl_info = {
"location": "File > Import-Export",
"description": "Import-Export X3D, Import VRML",
"warning": "",
"wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/Web3D"),
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/Web3D",
"tracker_url": "",
"support": 'OFFICIAL',
"category": "Import-Export"}
......
......@@ -26,8 +26,8 @@ bl_info = {
"location": "File > Import-Export",
"description": "Import-Export MDD as mesh shape keys",
"warning": "",
"wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/NewTek_OBJ"),
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Import-Export/NewTek_OBJ",
"tracker_url": "",
"support": 'OFFICIAL',
"category": "Import-Export"}
......
......@@ -27,13 +27,13 @@ bl_info = {
"blender": (2, 5, 8),
"api": 36079,
"location": "3D View, Add Mesh",
"description": ("Scatter a group of objects onto the active mesh using "
"the grease pencil lines"),
"description": "Scatter a group of objects onto the active mesh using "
"the grease pencil lines",
"warning": "",
"wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Object/Grease_Scatter"),
"tracker_url": ("https://projects.blender.org/tracker/index.php?"
"func=detail&aid=TODO"),
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"
"Scripts/Object/Grease_Scatter",
"tracker_url": "https://projects.blender.org/tracker/index.php?"
"func=detail&aid=TODO",
"support": 'OFFICIAL',
"category": "Object"}
......
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