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-07 14:19:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-07 16:43:00 +0300
commit5a43406e1bad973a8cb32702b4fdb588068a6dcd (patch)
treeb47ac75f429b586950dab5300669c373023efab8 /source/blender/makesdna/DNA_world_types.h
parent0215caeac2ad013fa03e2799049f5358d951ebfa (diff)
Cleanup: move DNA comments before struct members
Needed for clang-format in some cases, see: T53211
Diffstat (limited to 'source/blender/makesdna/DNA_world_types.h')
-rw-r--r--source/blender/makesdna/DNA_world_types.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h
index a3cc65d3c79..c95436f4723 100644
--- a/source/blender/makesdna/DNA_world_types.h
+++ b/source/blender/makesdna/DNA_world_types.h
@@ -50,8 +50,10 @@ struct MTex;
* gravity, color model etc. It mixes rendering data and modeling data. */
typedef struct World {
ID id;
- struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */
- DrawDataList drawdata; /* runtime (must be immediately after id for utilities to use it). */
+ /** Animation data (must be immediately after id for utilities to use it). */
+ struct AnimData *adt;
+ /* runtime (must be immediately after id for utilities to use it). */
+ DrawDataList drawdata;
char _pad0[4];
short texact, mistype;
@@ -70,18 +72,19 @@ typedef struct World {
* Some world modes
* bit 0: Do mist
*/
- short mode; // partially moved to scene->gamedata in 2.5
+ short mode;
short pad2[3];
float misi, miststa, mistdist, misthi;
- /* ambient occlusion */
+ /** Ambient occlusion. */
float aodist, aoenergy;
- /* assorted settings */
+ /** Assorted settings. */
short flag, pad3[3];
- struct Ipo *ipo DNA_DEPRECATED; /* old animation system, deprecated for 2.5 */
+ /** Old animation system, deprecated for 2.5. */
+ struct Ipo *ipo DNA_DEPRECATED;
short pr_texture, use_nodes, pad[2];
/* previews */
@@ -90,8 +93,10 @@ typedef struct World {
/* nodes */
struct bNodeTree *nodetree;
- float mistend, pad1; /* runtime : miststa + mistdist, used for drawing camera */
- ListBase gpumaterial; /* runtime */
+ /** Runtime : miststa + mistdist, used for drawing camera. */
+ float mistend, pad1;
+ /** Runtime. */
+ ListBase gpumaterial;
} World;
/* **************** WORLD ********************* */