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:
Diffstat (limited to 'io_scene_obj/export_obj.py')
-rw-r--r--io_scene_obj/export_obj.py4
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