diff options
-rw-r--r-- | io_scene_fbx/import_fbx.py | 2 | ||||
-rw-r--r-- | io_scene_obj/import_obj.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py index 48943d36..bee5c0e3 100644 --- a/io_scene_fbx/import_fbx.py +++ b/io_scene_fbx/import_fbx.py @@ -1190,7 +1190,7 @@ def blen_read_geom(fbx_tmpl, fbx_obj, settings): return geom_mat_no * Vector(v) ok_normals = blen_read_geom_layer_normal(fbx_obj, mesh, nortrans) - mesh.validate(cleanup_cddata=False) # *Very* important to not remove lnors here! + mesh.validate(clean_customdata=False) # *Very* important to not remove lnors here! if ok_normals: clnors = array.array('f', [0.0] * (len(mesh.loops) * 3)) diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py index 6136538d..bc184b4e 100644 --- a/io_scene_obj/import_obj.py +++ b/io_scene_obj/import_obj.py @@ -616,7 +616,7 @@ def create_mesh(new_objects, # edges should be a list of (a, b) tuples me.edges.foreach_set("vertices", unpack_list(edges)) - me.validate(cleanup_cddata=False) # *Very* important to not remove lnors here! + me.validate(clean_customdata=False) # *Very* important to not remove lnors here! me.update(calc_edges=use_edges) # Un-tessellate as much as possible, in case we had to triangulate some ngons... |