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>2012-06-27 08:23:42 +0400
committerThomas Larsson <thomas_larsson_01@hotmail.com>2012-06-27 08:23:42 +0400
commit9b6cd654ac29ed2922c9d7d936fcba9a4c832788 (patch)
tree46d2bc8a0a3e9273a7070fb8f8701db484643a64 /io_import_scene_mhx.py
parent2e8e879c9727929d07762eb83f1deda6ea75c2ac (diff)
MHX importer: Removed some dead code, and now display two digits for minor version number to avoid confusion.
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r--io_import_scene_mhx.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index 5fa282a3..cf39d64a 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -26,7 +26,7 @@
"""
Abstract
MHX (MakeHuman eXchange format) importer for Blender 2.5x.
-Version 1.13.1
+Version 1.13.2
This script should be distributed with Blender.
If not, place it in the .blender/scripts/addons dir
@@ -39,7 +39,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, 13, 1),
+ 'version': (1, 13, 2),
"blender": (2, 6, 3),
'location': "File > Import > MakeHuman (.mhx)",
'description': 'Import files in the MakeHuman eXchange format (.mhx)',
@@ -51,7 +51,7 @@ bl_info = {
MAJOR_VERSION = 1
MINOR_VERSION = 13
-SUB_VERSION = 0
+SUB_VERSION = 2
#
#
@@ -328,8 +328,8 @@ def checkMhxVersion(major, minor):
else:
msg = (
"Wrong MHX version\n" +
-"Expected MHX %d.%d but the loaded file " % (MAJOR_VERSION, MINOR_VERSION) +
-"has version MHX %d.%d\n" % (major, minor))
+"Expected MHX %d.%02d but the loaded file " % (MAJOR_VERSION, MINOR_VERSION) +
+"has version MHX %d.%02d\n" % (major, minor))
if minor < MINOR_VERSION:
msg += (
"You can disable this error message by deselecting the \n" +
@@ -2311,7 +2311,7 @@ def parseCollection(data, tokens, exclude):
#
# extractBpyType(data):
#
-
+"""
def extractBpyType(data):
typeSplit = str(type(data)).split("'")
if typeSplit[0] != '<class ':
@@ -2335,7 +2335,7 @@ def Bool(string):
return False
else:
MyError("Bool %s?" % string)
-
+"""
#
# invalid(condition):
#