diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-04 12:56:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-04 12:56:57 +0400 |
commit | b63d9bcaabe646e72a2369dd36992aea2094d1df (patch) | |
tree | 7815432a38a0429829be50a705339c0fcf3cf8bb /io_scene_obj/export_obj.py | |
parent | 8aa1b14c4485a3058bf332d2389bdef289256dee (diff) |
fix for various errors in scripts
Diffstat (limited to 'io_scene_obj/export_obj.py')
-rw-r--r-- | io_scene_obj/export_obj.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py index e115b8d3..b5cf778e 100644 --- a/io_scene_obj/export_obj.py +++ b/io_scene_obj/export_obj.py @@ -147,7 +147,7 @@ def test_nurbs_compat(ob): return False -def write_nurb(file, ob, ob_mat): +def write_nurb(fw, ob, ob_mat): tot_verts = 0 cu = ob.data @@ -321,7 +321,7 @@ def write_file(filepath, objects, scene, # Nurbs curve support if EXPORT_CURVE_AS_NURBS and test_nurbs_compat(ob): ob_mat = EXPORT_GLOBAL_MATRIX * ob_mat - totverts += write_nurb(file, ob, ob_mat) + totverts += write_nurb(fw, ob, ob_mat) continue # END NURBS |