Cleanup: corrections to last commit

This commit is contained in:
Campbell Barton
2019-01-08 01:00:40 +11:00
parent 5a43406e1b
commit 299ff7dcd1
13 changed files with 79 additions and 78 deletions

View File

@@ -120,27 +120,27 @@ typedef struct bAnimVizSettings {
/** Number of frames befo.re/after current frame to show */
int ghost_bc, ghost_ac;
/** EOnionSkin_Types. */
/** #eOnionSkin_Types. */
short ghost_type;
/** Number of frames between each ghost shown (not for GHOST_TYPE_KEYS). */
short ghost_step;
/** EOnionSkin_Flag. */
/** #eOnionSkin_Flag. */
short ghost_flag;
/* General Settings ------------------------ */
/** EAnimViz_RecalcFlags. */
/** #eAnimViz_RecalcFlags. */
short recalc;
/* Motion Path Settings ------------------- */
/** EMotionPath_Types. */
/** #eMotionPath_Types. */
short path_type;
/** Number of frames between points indicated on the paths. */
short path_step;
/** EMotionPaths_ViewFlag. */
/** #eMotionPaths_ViewFlag. */
short path_viewflag;
/** EMotionPaths_BakeFlag. */
/** #eMotionPaths_BakeFlag. */
short path_bakeflag;
/** Start and end frames of path-calculation range. */
@@ -313,7 +313,7 @@ typedef struct bPoseChannel {
float quat[4];
/** Axis-angle rotation. */
float rotAxis[3], rotAngle;
/** ERotationModes - rotation representation to use. */
/** #eRotationModes - rotation representation to use. */
short rotmode;
short pad;

View File

@@ -167,9 +167,9 @@ typedef struct FMod_FunctionGenerator {
float value_offset;
/* flags */
/** EFMod_Generator_Functions. */
/** #eFMod_Generator_Functions. */
int type;
/** EFMod_Generator_flags. */
/** #eFMod_Generator_flags. */
int flag;
} FMod_FunctionGenerator;

View File

@@ -53,19 +53,19 @@ typedef struct ClothSimSettings {
float mingoal;
/** Mechanical damping of springs. */
float Cdis DNA_DEPRECATED;
/** Viscous/fluid damping. . */
/** Viscous/fluid damping. */
float Cvi;
/** Gravity/external force vector. . */
/** Gravity/external force vector. */
float gravity[3];
/** This is the duration of our time step, computed.. */
float dt;
/** The mass of the entire cloth. . */
/** The mass of the entire cloth. */
float mass;
/** Structural spring stiffness. */
float structural DNA_DEPRECATED;
/** Shear spring stiffness. . */
/** Shear spring stiffness. */
float shear;
/** Flexion spring stiffness. . */
/** Flexion spring stiffness. */
float bending;
/** Max bending scaling value, min is "bending". */
float max_bend;
@@ -115,15 +115,15 @@ typedef struct ClothSimSettings {
float voxel_cell_size;
int pad;
/** Number of time steps per frame. . */
/** Number of time steps per frame. */
int stepsPerFrame;
/** Flags, see CSIMSETT_FLAGS enum above.. */
/** Flags, see CSIMSETT_FLAGS enum above. */
int flags;
/** How many frames of simulation to do before we start.. */
/** How many frames of simulation to do before we start. */
int preroll DNA_DEPRECATED;
/** In percent!; if tearing enabled, a spring will get cut. */
int maxspringlen;
/** Which solver should be used? txold. */
/** Which solver should be used? txold. */
short solver_type;
/** Vertex group for scaling bending stiffness. */
short vgroup_bend;
@@ -161,13 +161,13 @@ typedef struct ClothSimSettings {
typedef struct ClothCollSettings {
/** E.g. pointer to temp memory for collisions. */
struct LinkNode *collision_list;
/** Min distance for collisions. . */
/** Min distance for collisions. */
float epsilon;
/** Fiction/damping with self contact. */
float self_friction;
/** Friction/damping applied on contact with other object..*/
/** Friction/damping applied on contact with other object. */
float friction;
/** Collision restitution on contact with other object..*/
/** Collision restitution on contact with other object. */
float damping;
/** For selfcollision. */
float selfepsilon;
@@ -177,7 +177,7 @@ typedef struct ClothCollSettings {
int flags;
/** How many iterations for the selfcollision loop. */
short self_loop_count DNA_DEPRECATED;
/** How many iterations for the collision loop. . */
/** How many iterations for the collision loop. */
short loop_count;
int pad;
/** Only use colliders from this group of objects. */

View File

@@ -485,11 +485,11 @@ typedef struct bPivotConstraint {
/* Rotation-driven activation:
* This option provides easier one-stop setups for footrolls
*/
/** Rotation axes to consider for this (ePivotConstraint_Axis). */
/** Rotation axes to consider for this (#ePivotConstraint_Axis). */
short rotAxis;
/* General flags */
/** EPivotConstraint_Flag. */
/** #ePivotConstraint_Flag. */
short flag;
} bPivotConstraint;

View File

@@ -59,7 +59,7 @@ typedef struct GPUSSAOSettings {
typedef struct GPUFXSettings {
GPUDOFSettings *dof;
GPUSSAOSettings *ssao;
/** EGPUFXFlags. */
/** #eGPUFXFlags. */
char fx_flag;
char pad[7];
} GPUFXSettings;

View File

@@ -1439,7 +1439,7 @@ typedef struct DynamicPaintModifierData {
struct DynamicPaintCanvasSettings *canvas;
struct DynamicPaintBrushSettings *brush;
/** Ui display: canvas / brush. */
/** UI display: canvas / brush. */
int type;
int pad;
} DynamicPaintModifierData;

View File

@@ -137,7 +137,7 @@ typedef struct MovieClipScopes {
struct MovieTrackingMarker undist_marker;
/** Search area of a track. */
struct ImBuf *track_search;
/** ImBuf displayed in track preview. */
/** #ImBuf displayed in track preview. */
struct ImBuf *track_preview;
/** Sub-pizel position of marker in track ImBuf. */
float track_pos[2];

View File

@@ -55,35 +55,36 @@ typedef enum ePFieldType {
PFIELD_BOID = 10, /* Defines predator / goal for boids */
PFIELD_TURBULENCE = 11, /* Force defined by BLI_gTurbulence */
PFIELD_DRAG = 12, /* Linear & quadratic drag */
PFIELD_SMOKEFLOW = 13, /* Force based on smoke simulation air flow */
PFIELD_SMOKEFLOW = 1301, /* Force based on smoke simulation air flow */
NUM_PFIELD_TYPES
} ePFieldType;
typedef struct PartDeflect {
/** General settings flag . */
/** General settings flag. */
int flag;
/** Deflection flag - does mesh deflect particles . */
/** Deflection flag - does mesh deflect particles. */
short deflect;
/** Force field type, do the vertices attract / repel particles?. */
/** Force field type, do the vertices attract / repel particles? */
short forcefield;
/** Fall-off type . */
/** Fall-off type. */
short falloff;
/** Point, plane or surface . */
/** Point, plane or surface. */
short shape;
/** Texture effector . */
/** Texture effector. */
short tex_mode;
/** For curve guide . */
/** For curve guide. */
short kink, kink_axis;
short zdir;
/* Main effector values */
/** The strength of the force (+ or - ) . */
/** The strength of the force (+ or - ). */
float f_strength;
/** Damping ratio of the harmonic effector. . */
/** Damping ratio of the harmonic effector. */
float f_damp;
/** How much force is converted into "air flow", i.e.. */
/**
* How much force is converted into "air flow", i.e.
* force used as the velocity of surrounding medium. */
float f_flow;
/* force used as the velocity of surrounding medium. */
/** Noise size for noise effector, restlength for harmonic effector. */
float f_size;
@@ -91,35 +92,35 @@ typedef struct PartDeflect {
/* fall-off */
/** The power law - real gravitation is 2 (square). */
float f_power;
/** If indicated, use this maximum . */
/** If indicated, use this maximum. */
float maxdist;
/** If indicated, use this minimum . */
/** If indicated, use this minimum. */
float mindist;
/** Radial fall-off power . */
/** Radial fall-off power. */
float f_power_r;
/** Radial versions of above . */
/** Radial versions of above. */
float maxrad;
float minrad;
/* particle collisions */
/** Damping factor for particle deflection . */
/** Damping factor for particle deflection. */
float pdef_damp;
/** Random element of damping for deflection . */
/** Random element of damping for deflection. */
float pdef_rdamp;
/** Chance of particle passing through mesh . */
/** Chance of particle passing through mesh. */
float pdef_perm;
/** Friction factor for particle deflection . */
/** Friction factor for particle deflection. */
float pdef_frict;
/** Random element of friction for deflection. */
/** Random element of friction for deflection. */
float pdef_rfrict;
/** Surface particle stickiness . */
/** Surface particle stickiness. */
float pdef_stickness;
/** Used for forces. */
float absorption;
/* softbody collisions */
/** Damping factor for softbody deflection . */
/** Damping factor for softbody deflection. */
float pdef_sbdamp;
/** Inner face thickness for softbody deflection. */
float pdef_sbift;
@@ -133,15 +134,15 @@ typedef struct PartDeflect {
/* texture effector */
/** Used for calculating partial derivatives. */
float tex_nabla;
/** Texture of the texture effector . */
/** Texture of the texture effector. */
struct Tex *tex;
/* effector noise */
/** Random noise generator for e.g. wind. */
struct RNG *rng;
/** Noise of force . */
/** Noise of force. */
float f_noise;
/** Noise random seed . */
/** Noise random seed. */
int seed;
/* Display Size */

View File

@@ -1097,18 +1097,18 @@ typedef struct GP_Sculpt_Settings {
/** Runtime. */
void *paintcursor;
/** EGP_Sculpt_Types (sculpt). */
/** #eGP_Sculpt_Types (sculpt). */
int brushtype;
/** EGP_Sculpt_SettingsFlag. */
/** #eGP_Sculpt_SettingsFlag. */
int flag;
/** EGP_Lockaxis_Types lock drawing to one axis. */
/** #eGP_Lockaxis_Types lock drawing to one axis. */
int lock_axis;
char pad1[4];
/* weight paint is a submode of sculpt but use its own index. All weight paint
* brushes must be defined at the end of the brush array.
*/
/** EGP_Sculpt_Types (weight paint). */
/** #eGP_Sculpt_Types (weight paint). */
int weighttype;
char pad[4];
/** Multiframe edit falloff effect by frame. */
@@ -1139,12 +1139,12 @@ typedef enum eGP_Sculpt_SettingsFlag {
/* Settings for GP Interpolation Operators */
typedef struct GP_Interpolate_Settings {
/** EGP_Interpolate_SettingsFlag. */
/** #eGP_Interpolate_SettingsFlag. */
short flag;
/** EGP_Interpolate_Type - Interpolation Mode. */
/** #eGP_Interpolate_Type - Interpolation Mode. */
char type;
/** EBezTriple_Easing - Easing mode (if easing equation used). */
/** #eBezTriple_Easing - Easing mode (if easing equation used). */
char easing;
/** BEZT_IPO_BACK. */

View File

@@ -337,7 +337,7 @@ typedef struct ScrArea {
* It's been there for ages, name doesn't fit any more.
*/
char spacetype;
/** ESpace_Type (SPACE_FOO). */
/** #eSpace_Type (SPACE_FOO). */
char butspacetype;
short butspacetype_subtype;
@@ -366,17 +366,17 @@ typedef struct ScrArea {
* changing the editor type, we try to reuse old editor data from this list.
* The first item is the active/visible one.
*/
/** SpaceLink. */
/** #SpaceLink. */
ListBase spacedata;
/* NOTE: This region list is the one from the active/visible editor (first item in
* spacedata list). Use SpaceLink.regionbase if it's inactive (but only then)!
*/
/** ARegion. */
/** #ARegion. */
ListBase regionbase;
/** WmEventHandler. */
/** #wmEventHandler. */
ListBase handlers;
/** AZone. */
/** #AZone. */
ListBase actionzones;
ScrArea_Runtime runtime;
@@ -427,17 +427,17 @@ typedef struct ARegion {
/** Callbacks for this region type. */
struct ARegionType *type;
/** UiBlock. */
/** #uiBlock. */
ListBase uiblocks;
/** Panel. */
ListBase panels;
/** Stack of panel categories. */
ListBase panels_category_active;
/** UiList. */
/** #uiList. */
ListBase ui_lists;
/** UiPreview. */
/** #uiPreview. */
ListBase ui_previews;
/** WmEventHandler. */
/** #wmEventHandler. */
ListBase handlers;
/** Panel categories runtime. */
ListBase panels_category;

View File

@@ -905,7 +905,7 @@ typedef struct FileDirEntry {
/* Either point to active variant/revision if available, or own entry (in mere filebrowser case). */
FileDirEntryRevision *entry;
/** EFileSel_File_Types. */
/** #eFileSel_File_Types. */
int typeflag;
/** ID type, in case typeflag has FILE_TYPE_BLENDERLIB set. */
int blentype;

View File

@@ -427,7 +427,7 @@ typedef struct ThemeWireColor {
char select[4];
char active[4];
/** EWireColor_Flags. */
/** #eWireColor_Flags. */
short flag;
short pad;
} ThemeWireColor;
@@ -559,9 +559,9 @@ typedef struct UserDef {
/* UserDef has separate do-version handling, and can be read from other files */
int versionfile, subversionfile;
/** EUserPref_Flag. */
/** #eUserPref_Flag. */
int flag;
/** EDupli_ID_Flags. */
/** #eDupli_ID_Flags. */
int dupflag;
int savetime;
/** FILE_MAXDIR length. */
@@ -584,7 +584,7 @@ typedef struct UserDef {
/** Minimum spacing between gridlines in View2D grids. */
short v2d_min_gridsize;
/** ETimecodeStyles, style of timecode display. */
/** #eTimecodeStyles, style of timecode display. */
short timecode_style;
short versions;
@@ -592,9 +592,9 @@ typedef struct UserDef {
short pad;
short wheellinescroll;
/** EUserpref_UI_Flag. */
/** #eUserpref_UI_Flag. */
int uiflag;
/** EUserpref_UI_Flag2. */
/** #eUserpref_UI_Flag2. */
int uiflag2;
/* Experimental flag for app-templates to make changes to behavior
* which are outside the scope of typical preferences. */
@@ -628,7 +628,7 @@ typedef struct UserDef {
/** Node insert offset (aka auto-offset) margin, but might be useful for later stuff as well. */
char node_margin;
char pad2[5];
/** EUserpref_Translation_Flags. */
/** #eUserpref_Translation_Flags. */
short transopts;
short menuthreshold1, menuthreshold2;

View File

@@ -135,7 +135,7 @@ typedef struct WorkSpace {
ListBase hook_layout_relations DNA_PRIVATE_WORKSPACE_READ_WRITE;
/* Feature tagging (use for addons) */
/** WmOwnerID. */
/** #wmOwnerID. */
ListBase owner_ids DNA_PRIVATE_WORKSPACE_READ_WRITE;
/* should be: '#ifdef USE_WORKSPACE_TOOL'. */