diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-10 03:10:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-10 03:10:20 +0300 |
commit | 4d24ac5ca09e45b3afb6873ddfdf3530ff98f097 (patch) | |
tree | 12117afafc25e8475fdb22e4853ace35f68ed1d7 /io_scene_x3d | |
parent | b781657f437870bf2c14dd5901388de0fdf4ef52 (diff) |
patch [#25979] fixes for addons/io_scene_fbx, io_scene_x3d
from Filiciss Muhgue (filiciss)
fixes [#25997] Export to X3D reports error TypeError: 'NoneType' object is not scriptable.
Diffstat (limited to 'io_scene_x3d')
-rw-r--r-- | io_scene_x3d/__init__.py | 2 | ||||
-rw-r--r-- | io_scene_x3d/export_x3d.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_x3d/__init__.py b/io_scene_x3d/__init__.py index c758915f..565addd8 100644 --- a/io_scene_x3d/__init__.py +++ b/io_scene_x3d/__init__.py @@ -22,7 +22,7 @@ bl_info = { "name": "Web3D X3D/VRML format", "author": "Campbell Barton, Bart", "blender": (2, 5, 6), - "api": 34386, + "api": 34647, "location": "File > Import-Export", "description": "Import-Export X3D, Import VRML", "warning": "", diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py index 0aaa1ccf..6188af56 100644 --- a/io_scene_x3d/export_x3d.py +++ b/io_scene_x3d/export_x3d.py @@ -47,7 +47,7 @@ def round_color(col, cp): def matrix_direction(mtx): - return (mathutils.Vector((0.0, 0.0, -1.0)) * mtx.to_3x3()).normalize()[:] + return (mathutils.Vector((0.0, 0.0, -1.0)) * mtx.to_3x3()).normalized()[:] ########################################################## |