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:
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r--io_import_images_as_planes.py28
1 files changed, 12 insertions, 16 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 0cfbf3bc..81618c9b 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -16,6 +16,18 @@
#
# ##### END GPL LICENSE BLOCK #####
+bl_addon_info = {
+ "name": "Import: Images as Planes",
+ "author": "Florian Meyer (testscreenings)",
+ "version": "0.7",
+ "blender": (2, 5, 3),
+ "location": "File > Import > Images as Planes",
+ "description": "Imports images and creates planes with the appropiate aspect ratio. The images are mapped to the planes.",
+ "warning": "",
+ "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Add_Mesh/Planes_from_Images",
+ "tracker_url": "https://projects.blender.org/tracker/index.php?func=detail&aid=21751&group_id=153&atid=469",
+ "category": "Import/Export"}
+
"""
This script imports images and creates Planes with them as textures.
At the moment the naming for objects, materials, textures and meshes
@@ -47,22 +59,6 @@ after importing 236 images.
It also has an option to translate pixeldimensions into Blenderunits.
"""
-bl_addon_info = {
- 'name': 'Import: Images as Planes',
- 'author': 'Florian Meyer (testscreenings)',
- 'version': '0.7',
- 'blender': (2, 5, 3),
- 'location': 'File > Import > Images as Planes',
- 'description': 'Imports images and creates planes' \
- ' with the appropiate aspect ratio.' \
- ' The images are mapped to the planes.',
- 'warning': '', # used for warning icon and text in addons panel
- 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/' \
- 'Scripts/Add_Mesh/Planes_from_Images',
- 'tracker_url': 'https://projects.blender.org/tracker/index.php?'\
- 'func=detail&aid=21751&group_id=153&atid=469',
- 'category': 'Import/Export'}
-
import bpy
from bpy.props import *
from os import listdir