From a45f09decd7fba23ca9ccda668ee341330ee09a8 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 14 Jun 2023 09:43:20 -0400 Subject: [PATCH] Cleanup: Clarify comment about ownership in meah header The ownership of the result mesh isn't "unkown", that doesn't really make sense. Also use "true" instead of "truth". --- source/blender/blenkernel/BKE_mesh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h index 9ffbb0038bf..09c8fdfdfd7 100644 --- a/source/blender/blenkernel/BKE_mesh.h +++ b/source/blender/blenkernel/BKE_mesh.h @@ -234,12 +234,12 @@ void BKE_mesh_texspace_get_reference(struct Mesh *me, /** * Create new mesh from the given object at its current state. - * The owner of this mesh is unknown, it is up to the caller to decide. + * The caller owns the result mesh. * - * If preserve_all_data_layers is truth then the modifier stack is re-evaluated to ensure it + * If \a preserve_all_data_layers is true then the modifier stack is re-evaluated to ensure it * preserves all possible custom data layers. * - * \note Dependency graph argument is required when preserve_all_data_layers is truth, and is + * \note Dependency graph argument is required when preserve_all_data_layers is true, and is * ignored otherwise. */ struct Mesh *BKE_mesh_new_from_object(struct Depsgraph *depsgraph,