From 62906cb6f44d271fb4e426743aab232fb5dea7a6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 11 Sep 2025 14:30:00 +1000 Subject: [PATCH] Cleanup: use a boolean for BMesh::use_toolflags Bit-fields don't have any advantage in this case, use a boolean. --- source/blender/bmesh/bmesh_class.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/bmesh/bmesh_class.hh b/source/blender/bmesh/bmesh_class.hh index 46685d1959c..41d90b35fb2 100644 --- a/source/blender/bmesh/bmesh_class.hh +++ b/source/blender/bmesh/bmesh_class.hh @@ -354,7 +354,7 @@ struct BMesh { /** Operator API stuff (must be all null or all allocated). */ struct BLI_mempool *vtoolflagpool, *etoolflagpool, *ftoolflagpool; - uint use_toolflags : 1; + bool use_toolflags; int toolflag_index;