diff options
Diffstat (limited to 'source/blender/blenkernel/intern/editmesh_tangent.c')
-rw-r--r-- | source/blender/blenkernel/intern/editmesh_tangent.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/editmesh_tangent.c b/source/blender/blenkernel/intern/editmesh_tangent.c index 9e8b4fa8782..4231ad54ea8 100644 --- a/source/blender/blenkernel/intern/editmesh_tangent.c +++ b/source/blender/blenkernel/intern/editmesh_tangent.c @@ -25,7 +25,9 @@ #include "BLI_math.h" #include "BLI_task.h" -#include "BKE_DerivedMesh.h" +#include "DNA_defs.h" +#include "DNA_customdata_types.h" +#include "DNA_meshdata_types.h" #include "BKE_mesh.h" #include "BKE_mesh_tangent.h" /* for utility functions */ @@ -360,7 +362,7 @@ void BKE_editmesh_loop_tangent_calc( mesh2tangent->face_as_quad_map = face_as_quad_map; mesh2tangent->num_face_as_quad_map = num_face_as_quad_map; #endif - mesh2tangent->precomputedFaceNormals = poly_normals; /* dm->getPolyDataArray(dm, CD_NORMAL) */ + mesh2tangent->precomputedFaceNormals = poly_normals; /* Note, we assume we do have tessellated loop normals at this point (in case it is object-enabled), * have to check this is valid... */ |