More DM func renames, fixing some build breaks, renaming more stuff, also seems like...
[blender.git] / source / blender / blenkernel / intern / particle_system.c
index 3c5674f0b0f630e4fdfb019c7cb536d683f32f24..7a5f5524fbdc511c123c6773ddcfd1435da92610 100644 (file)
@@ -1271,7 +1271,7 @@ static int distribute_threads_init_data(ParticleThread *threads, Scene *scene, D
                                COMPARE_ORIG_INDEX= dm->getVertDataArray(dm, CD_ORIGINDEX);
                }
                else {
-                       if(dm->numFaceData)
+                       if(dm->numTessFaceData)
                                COMPARE_ORIG_INDEX= dm->getTessFaceDataArray(dm, CD_ORIGINDEX);
                }