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-20 20:39:26 +0400
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2011-06-20 20:39:26 +0400
commit7a85385baf9b8a0e2b9d61fe553c5e6102d90a15 (patch)
tree4c2a57c3829b750f6eae25e516a2101b8dbed5e9 /io_coat3D
parent0d8ddea479cc128ebf4867247e13dacce963b1d4 (diff)
small fixes here and there.
Diffstat (limited to 'io_coat3D')
-rw-r--r--io_coat3D/__init__.py2
-rw-r--r--io_coat3D/coat.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py
index 3cadefdc..9a787a02 100644
--- a/io_coat3D/__init__.py
+++ b/io_coat3D/__init__.py
@@ -19,7 +19,7 @@
bl_info = {
"name": "3D-Coat Applink",
"author": "Kalle-Samuli Riihikoski (haikalle)",
- "version": (1, 8, 0),
+ "version": (3, 5, 20),
"blender": (2, 5, 8),
"api": 35622,
"location": "Scene > 3D-Coat Applink",
diff --git a/io_coat3D/coat.py b/io_coat3D/coat.py
index 3300dbe6..ee27b640 100644
--- a/io_coat3D/coat.py
+++ b/io_coat3D/coat.py
@@ -80,7 +80,7 @@ class SCENE_PT_Main(ObjectButtonsPanel,bpy.types.Panel):
row = layout.row()
row.prop(coat3D,"type",text = "")
row = layout.row()
- if(context.selected_objects):
+ if(context.selected_objects and bpy.context.mode == 'OBJECT'):
if(context.selected_objects[0].type == 'MESH'):
row.active = True
else: