Commit: c4697fd529b0a94114f2f1523e8ac174e724ee5b
Author: Hans Goudey
Date: Thu Nov 4 23:12:53 2021 -0500
Branches: temp-vert-normals-cleanup
https://developer.blender.org/rBc4697fd529b0a94114f2f1523e8ac174e724ee5b
Cleanup: Remove debug prints
===================================================================
M source/blender/blenkernel/intern/mesh_normals.cc
===================================================================
diff --git a/source/blender/blenkernel/intern/mesh_normals.cc
b/source/blender/blenkernel/intern/mesh_normals.cc
index 3d1ffeba9cc..b6ea02f8d12 100644
--- a/source/blender/blenkernel/intern/mesh_normals.cc
+++ b/source/blender/blenkernel/intern/mesh_normals.cc
@@ -269,7 +269,6 @@ static void
mesh_calc_normals_poly_and_vertex(MutableSpan<MVert> mverts,
*/
const float (*BKE_mesh_ensure_vertex_normals(const Mesh *mesh))[3]
{
- std::cout << __func__ << " mesh: " << mesh << "\n";
if (!(mesh->runtime.cd_dirty_vert & CD_MASK_NORMAL ||
mesh->runtime.cd_dirty_poly & CD_MASK_NORMAL)) {
if (!CustomData_has_layer(&mesh->vdata, CD_NORMAL)) {
@@ -316,7 +315,6 @@ const float (*BKE_mesh_ensure_vertex_normals(const Mesh
*mesh))[3]
*/
const float (*BKE_mesh_ensure_face_normals(const Mesh *mesh))[3]
{
- std::cout << __func__ << " mesh: " << mesh << "\n";
if (!(mesh->runtime.cd_dirty_poly & CD_MASK_NORMAL)) {
BLI_assert(CustomData_has_layer(&mesh->pdata, CD_NORMAL) || mesh->totpoly
== 0);
return (const float(*)[3])CustomData_get_layer(&mesh->pdata, CD_NORMAL);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs