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:
authorThomas Larsson <thomas_larsson_01@hotmail.com>2013-10-23 06:48:02 +0400
committerThomas Larsson <thomas_larsson_01@hotmail.com>2013-10-23 06:48:02 +0400
commitf896d16c62e92be5ede373e2b29a27a65233e12b (patch)
tree7d1cadf81f84ba510359813c5b0d4a545b38bd3b /io_import_scene_mhx.py
parenta80edc00ba3fa935add2f5358931f867e17e5d95 (diff)
Silenced error message when mesh without parent is active.
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r--io_import_scene_mhx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index 20f5248a..9c6db39e 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -38,7 +38,7 @@ Alternatively, run the script in the script editor (Alt-P), and access from the
bl_info = {
'name': 'Import: MakeHuman (.mhx)',
'author': 'Thomas Larsson',
- 'version': "1.16.9",
+ 'version': "1.16.10",
"blender": (2, 68, 0),
'location': "File > Import > MakeHuman (.mhx)",
'description': 'Import files in the MakeHuman eXchange format (.mhx)',
@@ -3921,7 +3921,7 @@ def getProps(rig, prefix):
def hasProps(ob, prefix):
if ob is None:
return False
- if ob.type == 'MESH':
+ if ob.type == 'MESH' and ob.parent:
rig = ob.parent
elif ob.type == 'ARMATURE':
rig = ob