[Bf-blender-cvs] [8e11c37] alembic_basic_io: Avoid reading custom datas twice.

Kévin Dietrich noreply at git.blender.org
Thu Jul 14 14:43:20 CEST 2016


Commit: 8e11c3744d16205bb4cda8b88975040d8f753ef1
Author: Kévin Dietrich
Date:   Thu Jul 14 13:52:47 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rB8e11c3744d16205bb4cda8b88975040d8f753ef1

Avoid reading custom datas twice.

===================================================================

M	source/blender/alembic/intern/abc_mesh.cc

===================================================================

diff --git a/source/blender/alembic/intern/abc_mesh.cc b/source/blender/alembic/intern/abc_mesh.cc
index ed253d1..a73ce7a 100644
--- a/source/blender/alembic/intern/abc_mesh.cc
+++ b/source/blender/alembic/intern/abc_mesh.cc
@@ -1187,8 +1187,6 @@ void AbcSubDReader::readObjectData(Main *bmain, Scene *scene, float time)
 		mesh->cd_flag |= ME_CDFLAG_EDGE_CREASE;
 	}
 
-	read_custom_data(m_schema.getArbGeomParams(), m_mesh_data, sample_sel);
-
 	BKE_mesh_calc_normals(mesh);
 	BKE_mesh_validate(mesh, false, false);




More information about the Bf-blender-cvs mailing list