Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-15 15:14:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-15 15:15:35 +0300
commit328a0f975be68404604ee2571c1d0c4cf828dfec (patch)
tree5a0a74b069108f122cad0b1b11829cfa9529abbe /source/blender/makesdna/DNA_ID.h
parent39acbebe46ef90003201077867a394ebc60d540c (diff)
Cleanup: comment line length (DNA)
Prevents clang-format wrapping text before comments.
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r--source/blender/makesdna/DNA_ID.h54
1 files changed, 33 insertions, 21 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index d373a1542c6..ba8365993c8 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -133,11 +133,13 @@ enum {
/*->flag*/
enum {
- /* This IDProp may be statically overridden. Should only be used/be relevant for custom properties. */
+ /** This IDProp may be statically overridden.
+ * Should only be used/be relevant for custom properties. */
IDP_FLAG_OVERRIDABLE_STATIC = 1 << 0,
- IDP_FLAG_GHOST = 1 << 7, /* this means the property is set but RNA will return false when checking
- * 'RNA_property_is_set', currently this is a runtime flag */
+ /** This means the property is set but RNA will return false when checking
+ * 'RNA_property_is_set', currently this is a runtime flag */
+ IDP_FLAG_GHOST = 1 << 7,
};
/* add any future new id property types here.*/
@@ -186,8 +188,10 @@ enum {
/* IDOverridePropertyOperation->flag. */
enum {
- IDOVERRIDESTATIC_FLAG_MANDATORY = 1 << 0, /* User cannot remove that override operation. */
- IDOVERRIDESTATIC_FLAG_LOCKED = 1 << 1, /* User cannot change that override operation. */
+ /** User cannot remove that override operation. */
+ IDOVERRIDESTATIC_FLAG_MANDATORY = 1 << 0,
+ /** User cannot change that override operation. */
+ IDOVERRIDESTATIC_FLAG_LOCKED = 1 << 1,
};
/** A single overridden property, contain all operations on this one. */
@@ -408,13 +412,13 @@ typedef enum ID_Type {
/* NOTE! Fake IDs, needed for g.sipo->blocktype or outliner */
#define ID_SEQ MAKE_ID2('S', 'Q')
- /* constraint */
+/* constraint */
#define ID_CO MAKE_ID2('C', 'O')
- /* pose (action channel, used to be ID_AC in code, so we keep code for backwards compat) */
+/* pose (action channel, used to be ID_AC in code, so we keep code for backwards compat) */
#define ID_PO MAKE_ID2('A', 'C')
- /* used in outliner... */
+/* used in outliner... */
#define ID_NLA MAKE_ID2('N', 'L')
- /* fluidsim Ipo */
+/* fluidsim Ipo */
#define ID_FLUIDSIM MAKE_ID2('F', 'S')
#define ID_FAKE_USERS(id) ((((ID *)id)->flag & LIB_FAKEUSER) ? 1 : 0)
@@ -464,31 +468,38 @@ enum {
*
* Those flags belong to three different categories, which have different expected handling in code:
*
- * - RESET_BEFORE_USE: piece of code that wants to use such flag has to ensure they are properly 'reset' first.
- * - RESET_AFTER_USE: piece of code that wants to use such flag has to ensure they are properly 'reset' after usage
- * (though 'lifetime' of those flags is a bit fuzzy, e.g. _RECALC ones are reset on depsgraph
- * evaluation...).
- * - RESET_NEVER: those flags are 'status' one, and never actually need any reset (except on initialization
- * during .blend file reading).
+ * - RESET_BEFORE_USE: piece of code that wants to use such flag
+ * has to ensure they are properly 'reset' first.
+ * - RESET_AFTER_USE: piece of code that wants to use such flag has to ensure they are properly
+ * 'reset' after usage
+ * (though 'lifetime' of those flags is a bit fuzzy, e.g. _RECALC ones are reset on depsgraph
+ * evaluation...).
+ * - RESET_NEVER: those flags are 'status' one, and never actually need any reset
+ * (except on initialization during .blend file reading).
*/
enum {
/* RESET_NEVER Datablock is from current .blend file. */
LIB_TAG_LOCAL = 0,
- /* RESET_NEVER Datablock is from a library, but is used (linked) directly by current .blend file. */
+ /* RESET_NEVER Datablock is from a library,
+ * but is used (linked) directly by current .blend file. */
LIB_TAG_EXTERN = 1 << 0,
- /* RESET_NEVER Datablock is from a library, and is only used (linked) inderectly through other libraries. */
+ /* RESET_NEVER Datablock is from a library,
+ * and is only used (linked) inderectly through other libraries. */
LIB_TAG_INDIRECT = 1 << 1,
- /* RESET_AFTER_USE Three flags used internally in readfile.c, to mark IDs needing to be read (only done once). */
+ /* RESET_AFTER_USE Three flags used internally in readfile.c,
+ * to mark IDs needing to be read (only done once). */
LIB_TAG_NEED_EXPAND = 1 << 3,
LIB_TAG_TESTEXT = (LIB_TAG_NEED_EXPAND | LIB_TAG_EXTERN),
LIB_TAG_TESTIND = (LIB_TAG_NEED_EXPAND | LIB_TAG_INDIRECT),
- /* RESET_AFTER_USE Flag used internally in readfile.c, to mark IDs needing to be linked from a library. */
+ /* RESET_AFTER_USE Flag used internally in readfile.c,
+ * to mark IDs needing to be linked from a library. */
LIB_TAG_READ = 1 << 4,
/* RESET_AFTER_USE */
LIB_TAG_NEED_LINK = 1 << 5,
- /* RESET_NEVER tag datablock as a place-holder (because the real one could not be linked from its library e.g.). */
+ /* RESET_NEVER tag datablock as a place-holder
+ * (because the real one could not be linked from its library e.g.). */
LIB_TAG_MISSING = 1 << 6,
/* RESET_NEVER tag datablock as being up-to-date regarding its reference. */
@@ -515,7 +526,8 @@ enum {
LIB_TAG_COPIED_ON_WRITE_EVAL_RESULT = 1 << 13,
LIB_TAG_LOCALIZED = 1 << 14,
- /* RESET_NEVER tag datablock for freeing etc. behavior (usually set when copying real one into temp/runtime one). */
+ /* RESET_NEVER tag datablock for freeing etc. behavior
+ * (usually set when copying real one into temp/runtime one). */
LIB_TAG_NO_MAIN = 1 << 15, /* Datablock is not listed in Main database. */
LIB_TAG_NO_USER_REFCOUNT = 1 << 16, /* Datablock does not refcount usages of other IDs. */
/* Datablock was not allocated by standard system (BKE_libblock_alloc), do not free its memory