Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/mesh_evaluate.c
| Context not available. | |||||
| #include <limits.h> | #include <limits.h> | ||||
| #include "CLG_log.h" | |||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| #include "DNA_object_types.h" | #include "DNA_object_types.h" | ||||
| Context not available. | |||||
| # include "PIL_time_utildefines.h" | # include "PIL_time_utildefines.h" | ||||
| #endif | #endif | ||||
| static CLG_LogRef LOG = { "bke.mesh_evaluate" }; | |||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Mesh Normal Calculation | /** \name Mesh Normal Calculation | ||||
| * \{ */ | * \{ */ | ||||
| Context not available. | |||||
| /* if we are not calculating verts and no verts were passes then we have nothing to do */ | /* if we are not calculating verts and no verts were passes then we have nothing to do */ | ||||
| if ((only_face_normals == true) && (r_polyNors == NULL) && (r_faceNors == NULL)) { | if ((only_face_normals == true) && (r_polyNors == NULL) && (r_faceNors == NULL)) { | ||||
| printf("%s: called with nothing to do\n", __func__); | CLOG_WARN(&LOG, "called with nothing to do"); | ||||
| return; | return; | ||||
| } | } | ||||
| Context not available. | |||||
| } | } | ||||
| else { | else { | ||||
| /* eek, we're not corresponding to polys */ | /* eek, we're not corresponding to polys */ | ||||
| printf("error in %s: tessellation face indices are incorrect. normals may look bad.\n", __func__); | CLOG_ERROR(&LOG, "tessellation face indices are incorrect. normals may look bad."); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||