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:
authorCampbell Barton <ideasman42@gmail.com>2010-06-14 07:53:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-06-14 07:53:45 +0400
commit2246e5b59719500a8d15cdd17fa81c7c104ec28a (patch)
treee1a80d84900bbc7db7d46564e8fa870a1fd41c79 /import_images_as_planes.py
parent248b8c9a94710a4cf9d378c835a474ed57f7da82 (diff)
update for changes in trunk
Diffstat (limited to 'import_images_as_planes.py')
-rw-r--r--import_images_as_planes.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/import_images_as_planes.py b/import_images_as_planes.py
index 6d72fda1..3c22d573 100644
--- a/import_images_as_planes.py
+++ b/import_images_as_planes.py
@@ -377,8 +377,8 @@ class ImportImagesAsPlanes(bpy.types.Operator):
" with the appropiate aspect ratio."
bl_options = {'REGISTER', 'UNDO'}
- path = StringProperty(name="File Path",
- description="File path used for importing the file",
+ filepath = StringProperty(name="File Path",
+ description="Filepath used for importing the file",
maxlen=1024,
default="")
filename = StringProperty(name="File Name",
@@ -460,10 +460,10 @@ class ImportImagesAsPlanes(bpy.types.Operator):
def execute(self, context):
# File Path
- path = self.properties.path
+ filepath = self.properties.filepath
filename = self.properties.filename
directory = self.properties.directory
- filePath = (path, filename, directory)
+ filePath = (filepath, filename, directory)
# General Options
fromDirectory = self.properties.fromDirectory