[Bf-blender-cvs] [9adbeed] gooseberry: Fix for use of wrong CustomData for tessfaces.

Lukas Tönne noreply at git.blender.org
Mon Mar 23 13:04:19 CET 2015


Commit: 9adbeed82c4e27b59b6b2b4a9df97a1888f2a1e6
Author: Lukas Tönne
Date:   Thu Mar 19 14:18:02 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB9adbeed82c4e27b59b6b2b4a9df97a1888f2a1e6

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