[Bf-blender-cvs] [29b46e4] alembic_pointcache: Fix for use of wrong CustomData for tessfaces.

Lukas Tönne noreply at git.blender.org
Thu Mar 19 14:19:58 CET 2015


Commit: 29b46e4ef22bd83d315b3bb73fd626f4c178d2de
Author: Lukas Tönne
Date:   Thu Mar 19 14:18:02 2015 +0100
Branches: alembic_pointcache
https://developer.blender.org/rB29b46e4ef22bd83d315b3bb73fd626f4c178d2de

Fix for use of wrong CustomData for tessfaces.

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

M	source/blender/pointcache/alembic/abc_mesh.cpp

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

diff --git a/source/blender/pointcache/alembic/abc_mesh.cpp b/source/blender/pointcache/alembic/abc_mesh.cpp
index 128be23..e8f995b 100644
--- a/source/blender/pointcache/alembic/abc_mesh.cpp
+++ b/source/blender/pointcache/alembic/abc_mesh.cpp
@@ -654,7 +654,7 @@ PTCReadSampleResult AbcDerivedMeshReader::read_sample(float frame)
 	m_edge_data_reader.read_sample(ss, edata, num_edata, user_props);
 	
 	DM_ensure_tessface(m_result);
-	CustomData *fdata = m_result->getVertDataLayout(m_result);
+	CustomData *fdata = m_result->getTessFaceDataLayout(m_result);
 	int num_fdata = m_result->getNumTessFaces(m_result);
 	m_face_data_reader.read_sample(ss, fdata, num_fdata, user_props);




More information about the Bf-blender-cvs mailing list