Blender V5.0
DNA_armature_defaults.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11/* clang-format off */
12
13#define _DNA_DEFAULT_bArmature \
14 { \
15 .deformflag = ARM_DEF_VGROUP | ARM_DEF_ENVELOPE, \
16 .flag = ARM_COL_CUSTOM, /* custom bone-group colors */ \
17 .layer = 1, \
18 .drawtype = ARM_DRAW_TYPE_OCTA, \
19 }
20
21#define _DNA_DEFAULT_Bone \
22 { \
23 .drawtype = ARM_DRAW_TYPE_ARMATURE_DEFINED, \
24 }
25
26/* clang-format on */