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-09-04 08:04:13 +0400
committerThomas Larsson <thomas_larsson_01@hotmail.com>2013-09-04 08:04:13 +0400
commitcaf562e38a968d53fb43c47cb4a9cfd812ec14ff (patch)
treeeed5479c921d4f84e549113f4395018288bd50b7
parent7e932e56e1edacea91ff1287795788ba649ccf0f (diff)
Mhx exporter: reverted to ordinary eval in one place not called from mhx files.
-rw-r--r--io_import_scene_mhx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index 99756869..5779fbba 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -2109,7 +2109,7 @@ def defProp(args, var):
def defNewProp(name, proptype, rest):
prop = "%sProperty(%s)" % (proptype, rest)
- setattr(bpy.types.Object, name, mhxEval(prop))
+ setattr(bpy.types.Object, name, eval(prop)) # safe: only called from this file
def setProperty(args, var):