[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26761] trunk/blender/release/scripts/io/ import_scene_3ds.py: 3ds importer - fixed some warnings about various properties required for the fileselect operator stuff not being present

Joshua Leung aligorith at gmail.com
Wed Feb 10 10:18:49 CET 2010


Revision: 26761
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26761
Author:   aligorith
Date:     2010-02-10 10:18:49 +0100 (Wed, 10 Feb 2010)

Log Message:
-----------
3ds importer - fixed some warnings about various properties required for the fileselect operator stuff not being present

Modified Paths:
--------------
    trunk/blender/release/scripts/io/import_scene_3ds.py

Modified: trunk/blender/release/scripts/io/import_scene_3ds.py
===================================================================
--- trunk/blender/release/scripts/io/import_scene_3ds.py	2010-02-10 08:53:08 UTC (rev 26760)
+++ trunk/blender/release/scripts/io/import_scene_3ds.py	2010-02-10 09:18:49 UTC (rev 26761)
@@ -1015,7 +1015,9 @@
     # to the class instance from the operator settings before calling.
 
     path = StringProperty(name="File Path", description="File path used for importing the 3DS file", maxlen= 1024, default= "")
-
+    filename = StringProperty(name="File Name", description="Name of the file.")
+    directory = StringProperty(name="Directory", description="Directory of the file.")
+	
 # 	size_constraint = FloatProperty(name="Size Constraint", description="Scale the model by 10 until it reacehs the size constraint. Zero Disables.", min=0.0, max=1000.0, soft_min=0.0, soft_max=1000.0, default=10.0),
 # 	search_images = BoolProperty(name="Image Search", description="Search subdirectories for any assosiated images (Warning, may be slow)", default=True),
 # 	apply_matrix = BoolProperty(name="Transform Fix", description="Workaround for object transformations importing incorrectly", default=False),





More information about the Bf-blender-cvs mailing list