Cleanup: run make format

Just running `make format`, no functional changes.
This commit is contained in:
Sybren A. Stüvel
2023-12-05 16:01:20 +01:00
parent a23bd3d7f3
commit d63b68b01b
3 changed files with 4 additions and 5 deletions

View File

@@ -97,8 +97,8 @@ static void armature_init_data(ID *id)
* `armature_copy_data()` below. You probably don't want to use this otherwise.
*/
static void copy_bone_collection(bArmature *armature_dst,
BoneCollection *&bcoll_dst,
const BoneCollection *bcoll_src)
BoneCollection *&bcoll_dst,
const BoneCollection *bcoll_src)
{
bcoll_dst = static_cast<BoneCollection *>(MEM_dupallocN(bcoll_src));

View File

@@ -2420,8 +2420,7 @@ void ED_view3d_depth_override(Depsgraph *depsgraph,
if (viewport != nullptr) {
switch (mode) {
case V3D_DEPTH_NO_GPENCIL:
DRW_draw_depth_loop(
depsgraph, region, v3d, viewport, false, true, false);
DRW_draw_depth_loop(depsgraph, region, v3d, viewport, false, true, false);
break;
case V3D_DEPTH_GPENCIL_ONLY:
DRW_draw_depth_loop(depsgraph, region, v3d, viewport, true, false, false);

View File

@@ -1583,7 +1583,7 @@ typedef struct ToolSettings {
/** Normal offset used when drawing on surfaces. */
float gpencil_surface_offset;
/** Stroke selection mode for Edit. */
char gpencil_selectmode_edit;
/** Stroke selection mode for Sculpt. */