Blender V5.3
DNA_userdef_enums.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#include "BLI_enum_flags.hh"
12
13namespace blender {
14
24 USER_DUP_MESH = (1 << 0),
25 USER_DUP_CURVE = (1 << 1),
26 USER_DUP_SURF = (1 << 2),
27 USER_DUP_FONT = (1 << 3),
28 USER_DUP_MBALL = (1 << 4),
29 USER_DUP_LAMP = (1 << 5),
30 /* USER_DUP_FCURVE = (1 << 6), */ /* UNUSED, keep because we may implement. */
31 USER_DUP_MAT = (1 << 7),
32 /* USER_DUP_TEX = (1 << 8), */ /* UNUSED, keep because we may implement. */
33 USER_DUP_ARM = (1 << 9),
34 USER_DUP_ACT = (1 << 10),
35 USER_DUP_PSYS = (1 << 11),
37 USER_DUP_GPENCIL = (1 << 13),
38 USER_DUP_CURVES = (1 << 14),
40 USER_DUP_VOLUME = (1 << 16),
41 USER_DUP_LATTICE = (1 << 17),
42 USER_DUP_CAMERA = (1 << 18),
43 USER_DUP_SPEAKER = (1 << 19),
44 USER_DUP_NTREE = (1 << 20),
45
46 USER_DUP_OBDATA = (~0) & ((1 << 24) - 1),
47
48 /* Those are not exposed as user preferences, only used internally. */
49 USER_DUP_OBJECT = (1 << 24),
50 /* USER_DUP_COLLECTION = (1 << 25), */ /* UNUSED, keep because we may implement. */
51
52 /* Duplicate (and hence make local) linked data. */
53 USER_DUP_LINKED_ID = (1 << 30),
54};
56
57} // namespace blender
#define ENUM_OPERATORS(_enum_type)
BMesh Iterators.