diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2011-06-20 20:39:26 +0400 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2011-06-20 20:39:26 +0400 |
commit | 7a85385baf9b8a0e2b9d61fe553c5e6102d90a15 (patch) | |
tree | 4c2a57c3829b750f6eae25e516a2101b8dbed5e9 /io_coat3D | |
parent | 0d8ddea479cc128ebf4867247e13dacce963b1d4 (diff) |
small fixes here and there.
Diffstat (limited to 'io_coat3D')
-rw-r--r-- | io_coat3D/__init__.py | 2 | ||||
-rw-r--r-- | io_coat3D/coat.py | 2 |
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: |