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:
authorBastien Montagne <montagne29@wanadoo.fr>2015-03-05 22:52:44 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-03-05 22:52:44 +0300
commitffb9eb7eda6961af0e76fcaf81199183da55812c (patch)
tree66682a72cf1d034611e5f8bdf3f61b2e22fd2d45
parentfa3133fa796b0830eec583f825c95f75b62f70c2 (diff)
Fix T43899: FBX and OBJ importers after new RNA API 'cleanup'.
Caused by rBc755d8fbb520fbcf2a, can understand we want a 'good' (sigh) naming before release, but please ensure code already using it is updated then...
-rw-r--r--io_scene_fbx/import_fbx.py2
-rw-r--r--io_scene_obj/import_obj.py2
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...