Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io_anim_bvh/__init__.py4
-rw-r--r--io_mesh_stl/__init__.py27
-rw-r--r--io_mesh_uv_layout/__init__.py6
-rw-r--r--io_scene_3ds/__init__.py8
-rw-r--r--io_scene_fbx/__init__.py8
-rw-r--r--io_scene_map/__init__.py8
-rw-r--r--io_scene_obj/__init__.py8
-rw-r--r--io_scene_x3d/__init__.py4
-rw-r--r--io_shape_mdd/__init__.py4
-rw-r--r--object_grease_scatter.py12
10 files changed, 45 insertions, 44 deletions
diff --git a/io_anim_bvh/__init__.py b/io_anim_bvh/__init__.py
index b06eb58a..383d3bb9 100644
--- a/io_anim_bvh/__init__.py
+++ b/io_anim_bvh/__init__.py
@@ -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"}
diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py
index e9788013..a4669321 100644
--- a/io_mesh_stl/__init__.py
+++ b/io_mesh_stl/__init__.py
@@ -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'}
diff --git a/io_mesh_uv_layout/__init__.py b/io_mesh_uv_layout/__init__.py
index e7cf81ff..ac650976 100644
--- a/io_mesh_uv_layout/__init__.py
+++ b/io_mesh_uv_layout/__init__.py
@@ -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"}
diff --git a/io_scene_3ds/__init__.py b/io_scene_3ds/__init__.py
index ef3ad111..54015cc1 100644
--- a/io_scene_3ds/__init__.py
+++ b/io_scene_3ds/__init__.py
@@ -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"}
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py
index 724001e5..30f10c02 100644
--- a/io_scene_fbx/__init__.py
+++ b/io_scene_fbx/__init__.py
@@ -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"}
diff --git a/io_scene_map/__init__.py b/io_scene_map/__init__.py
index 77e85d5f..695d48f0 100644
--- a/io_scene_map/__init__.py
+++ b/io_scene_map/__init__.py
@@ -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"}
diff --git a/io_scene_obj/__init__.py b/io_scene_obj/__init__.py
index 20216df3..55a11b6b 100644
--- a/io_scene_obj/__init__.py
+++ b/io_scene_obj/__init__.py
@@ -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"}
diff --git a/io_scene_x3d/__init__.py b/io_scene_x3d/__init__.py
index 6e97ce2e..05c7a6af 100644
--- a/io_scene_x3d/__init__.py
+++ b/io_scene_x3d/__init__.py
@@ -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"}
diff --git a/io_shape_mdd/__init__.py b/io_shape_mdd/__init__.py
index ff8d7308..e7eea70a 100644
--- a/io_shape_mdd/__init__.py
+++ b/io_shape_mdd/__init__.py
@@ -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"}
diff --git a/object_grease_scatter.py b/object_grease_scatter.py
index 7bacbefd..71d06584 100644
--- a/object_grease_scatter.py
+++ b/object_grease_scatter.py
@@ -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"}