[Bf-extensions-cvs] [668b2abb] master: Fix T60282: use keyword argument in obj exporter
Jacques Lucke
noreply at git.blender.org
Tue Jan 8 12:37:16 CET 2019
Commit: 668b2abbf54ad286bfdea09ab5a7858c87777d22
Author: Jacques Lucke
Date: Tue Jan 8 12:37:01 2019 +0100
Branches: master
https://developer.blender.org/rBA668b2abbf54ad286bfdea09ab5a7858c87777d22
Fix T60282: use keyword argument in obj exporter
===================================================================
M io_scene_obj/export_obj.py
===================================================================
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py
index 064484ff..17920c2a 100644
--- a/io_scene_obj/export_obj.py
+++ b/io_scene_obj/export_obj.py
@@ -399,7 +399,7 @@ def write_file(filepath, objects, depsgraph, scene,
loops = me.loops
if (EXPORT_SMOOTH_GROUPS or EXPORT_SMOOTH_GROUPS_BITFLAGS) and face_index_pairs:
- smooth_groups, smooth_groups_tot = me.calc_smooth_groups(EXPORT_SMOOTH_GROUPS_BITFLAGS)
+ smooth_groups, smooth_groups_tot = me.calc_smooth_groups(use_bitflags=EXPORT_SMOOTH_GROUPS_BITFLAGS)
if smooth_groups_tot <= 1:
smooth_groups, smooth_groups_tot = (), 0
else:
More information about the Bf-extensions-cvs
mailing list