diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2011-01-17 13:06:50 +0300 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2011-01-17 13:06:50 +0300 |
commit | e4aef311ddeb856c08283fde2396e3f41c64204e (patch) | |
tree | 2323b8e8ffc44f65ec249d98857cf80eda0b09ab /io_coat3D/__init__.py | |
parent | 8c45db2066165ef32a565710d0188b85026fe1d1 (diff) |
A lot changes :)
Biggest change was that objectdir was changed from scene type into object type.
Diffstat (limited to 'io_coat3D/__init__.py')
-rw-r--r-- | io_coat3D/__init__.py | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py index 1ecb520a..1ef7937d 100644 --- a/io_coat3D/__init__.py +++ b/io_coat3D/__init__.py @@ -20,16 +20,17 @@ bl_info = { "name": "3D-Coat Applink", "author": "Kalle-Samuli Riihikoski (haikalle)", "version": (1, 61), - "blender": (2, 5, 4), + "blender": (2, 5, 6), "api": 31667, "location": "Scene -> 3D-Coat Applink", "description": "Transfer data between 3D-Coat/Blender", "warning": "", - "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"\ + "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/" \ "Scripts/Import-Export/3dcoat_applink", "tracker_url": "https://projects.blender.org/tracker/?"\ "func=detail&aid=24446", - "category": "Import-Export"} + "category": "Import/Export"} + if "bpy" in locals(): @@ -43,15 +44,13 @@ else: import bpy from bpy.props import * - + def register(): bpy.coat3D = dict() bpy.coat3D['active_coat'] = '' bpy.coat3D['status'] = 0 - bpy.coat3D['was'] = '' - bpy.coat3D['exchange'] = '' - bpy.coat3D['export_off'] = 0 + bpy.coat3D['kuva'] = 1 class coat3D(bpy.types.IDPropertyGroup): pass @@ -72,6 +71,12 @@ def register(): default= "" ) + coat3D.objectdir = StringProperty( + name="ObjectPath", + subtype="FILE_PATH", + default= "" + ) + class coat3D(bpy.types.IDPropertyGroup): pass @@ -82,12 +87,6 @@ def register(): description= "Applink variables" ) - coat3D.objectdir = StringProperty( - name="ObjectPath", - subtype="FILE_PATH", - default= "" - ) - coat3D.exchangedir = StringProperty( name="FilePath", subtype="DIR_PATH", |