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:
authorKalle-Samuli Riihikoski <haikalle@gmail.com>2011-06-07 01:35:09 +0400
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2011-06-07 01:35:09 +0400
commit8d8a0034807e1f8f05fd3913b2fb3f2a5ac1a53c (patch)
treef2055ff5291ff6edc43ba525898553f76f4d8bdb /io_coat3D/__init__.py
parent63315d80a724f294b1f42129ca66178a7fbf29cd (diff)
Update the script to work with latest trunk. Still some bugs when "remember position" = On, but much better than before.
Diffstat (limited to 'io_coat3D/__init__.py')
-rw-r--r--io_coat3D/__init__.py17
1 files changed, 11 insertions, 6 deletions
diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py
index a9509c3b..cce54b78 100644
--- a/io_coat3D/__init__.py
+++ b/io_coat3D/__init__.py
@@ -57,13 +57,22 @@ def register():
objectdir = StringProperty(name="ObjectPath", subtype="FILE_PATH")
texturefolder = StringProperty(name="Texture folder:", subtype="DIR_PATH")
path3b = StringProperty(name="3B Path", subtype="FILE_PATH")
+ export_on = BoolProperty(name="Export_On", description="Add Modifiers and export.",default= False)
class SceneCoat3D(bpy.types.PropertyGroup):
- exchangedir = StringProperty(
+
+ defaultfolder = StringProperty(
name="FilePath",
subtype="DIR_PATH",
)
+ exchangedir = StringProperty(
+ name="FilePath",
+ subtype="DIR_PATH"
+ )
+
+
+
wasactive = StringProperty(
name="Pass active object",
)
@@ -112,11 +121,7 @@ def register():
description="Export Coarse.",
default= True
)
- export_on = BoolProperty(
- name="Export_On",
- description="Add Modifiers and export.",
- default= False
- )
+
smooth_on = BoolProperty(
name="Auto Smooth",
description="Add Modifiers and export.",