[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1738] trunk/py/scripts/addons/ io_import_scene_mhx.py: Raised MHX version number to catch incompatibility between old mhx files and changed Blender API .
Thomas Larsson
thomas_larsson_01 at hotmail.com
Mon Mar 28 05:07:24 CEST 2011
Revision: 1738
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1738
Author: thomasl
Date: 2011-03-28 03:07:21 +0000 (Mon, 28 Mar 2011)
Log Message:
-----------
Raised MHX version number to catch incompatibility between old mhx files and changed Blender API.
Modified the wiki_url link to point to the MH site. To link to external sites may be frowned upon, but I don't want to maintain duplicate copies of the documentation. This is at any rate better than before, when the the link pointed to outdated info.
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 2011-03-27 05:24:00 UTC (rev 1737)
+++ trunk/py/scripts/addons/io_import_scene_mhx.py 2011-03-28 03:07:21 UTC (rev 1738)
@@ -26,7 +26,7 @@
"""
Abstract
MHX (MakeHuman eXchange format) importer for Blender 2.5x.
-Version 1.3.1
+Version 1.4.0
This script should be distributed with Blender.
If not, place it in the .blender/scripts/addons dir
@@ -39,22 +39,21 @@
bl_info = {
'name': 'Import: MakeHuman (.mhx)',
'author': 'Thomas Larsson',
- 'version': (1, 3, 1),
+ 'version': (1, 4, 0),
"blender": (2, 5, 7),
- "api": 35622,
+ "api": 35774,
'location': "File > Import",
'description': 'Import files in the MakeHuman eXchange format (.mhx)',
'warning': '',
- 'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/'\
- 'Scripts/Import-Export/Make_Human',
+ 'wiki_url': 'http://sites.google.com/site/makehumandocs/blender-export-and-mhx',
'tracker_url': 'https://projects.blender.org/tracker/index.php?'\
'func=detail&aid=21872',
'category': 'Import-Export'}
MAJOR_VERSION = 1
-MINOR_VERSION = 3
-SUB_VERSION = 1
-BLENDER_VERSION = (2, 56, 0)
+MINOR_VERSION = 4
+SUB_VERSION = 0
+BLENDER_VERSION = (2, 57, 0)
#
#
@@ -389,7 +388,8 @@
def checkMhxVersion(major, minor):
global warnedVersion
- if major != MAJOR_VERSION or (major == MAJOR_VERSION and minor > MINOR_VERSION):
+ print((major,minor), (MAJOR_VERSION, MINOR_VERSION), warnedVersion)
+ if major != MAJOR_VERSION or minor != MINOR_VERSION:
if warnedVersion:
return
else:
More information about the Bf-extensions-cvs
mailing list