[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4813] trunk/py/scripts/addons/ io_import_scene_mhx.py: Silenced error message when mesh without parent is active.
Thomas Larsson
thomas_larsson_01 at hotmail.com
Wed Oct 23 04:48:03 CEST 2013
Revision: 4813
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4813
Author: thomasl
Date: 2013-10-23 02:48:02 +0000 (Wed, 23 Oct 2013)
Log Message:
-----------
Silenced error message when mesh without parent is active.
Modified Paths:
--------------
trunk/py/scripts/addons/io_import_scene_mhx.py
Modified: trunk/py/scripts/addons/io_import_scene_mhx.py
===================================================================
--- trunk/py/scripts/addons/io_import_scene_mhx.py 2013-10-21 02:47:39 UTC (rev 4812)
+++ trunk/py/scripts/addons/io_import_scene_mhx.py 2013-10-23 02:48:02 UTC (rev 4813)
@@ -38,7 +38,7 @@
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 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
More information about the Bf-extensions-cvs
mailing list