diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-09 04:18:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-09 05:52:33 +0400 |
commit | b1f97a0cdb1bf6c7e0f80c6edb3182870625b9a6 (patch) | |
tree | 1b13f509bfbfed5e980bfe983d2ea3683f9b57c3 /source | |
parent | d8c4763fb0d7d880342fcb2cfa619b17cbaabf6a (diff) |
Code cleanup: remove Object.bbsize, sizefac and pad
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index 1f18b054d0e..60de5e18b35 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -176,8 +176,6 @@ typedef struct Object { float imat_ren[4][4]; unsigned int lay; /* copy of Base's layer in the scene */ - - float sf; /* sf is time-offset */ short flag; /* copy of Base */ short colbits DNA_DEPRECATED; /* deprecated, use 'matbits' */ @@ -208,7 +206,7 @@ typedef struct Object { */ float formfactor; - float rdamping, sizefac; + float rdamping; float margin; float max_vel; /* clamp the maximum velocity 0.0 is disabled */ float min_vel; /* clamp the minimum velocity 0.0 is disabled */ @@ -239,7 +237,8 @@ typedef struct Object { ListBase controllers; /* game logic controllers */ ListBase actuators; /* game logic actuators */ - float bbsize[3] DNA_DEPRECATED; + float sf; /* sf is time-offset */ + short index; /* custom index, for renderpasses */ unsigned short actdef; /* current deformation group, note: index starts at 1 */ float col[4]; /* object color */ @@ -270,8 +269,10 @@ typedef struct Object { struct FluidsimSettings *fluidsimSettings; /* if fluidsim enabled, store additional settings */ + /* Runtime valuated curve-specific data, not stored in the file */ + struct CurveCache *curve_cache; + struct DerivedMesh *derivedDeform, *derivedFinal; - int *pad; uint64_t lastDataMask; /* the custom data layer mask that was last used to calculate derivedDeform and derivedFinal */ uint64_t customdata_mask; /* (extra) custom data layer mask to use for creating derivedmesh, set by depsgraph */ unsigned int state; /* bit masks of game controllers that are active */ @@ -289,9 +290,6 @@ typedef struct Object { ListBase lodlevels; /* contains data for levels of detail */ LodLevel *currentlod; - - /* Runtime valuated curve-specific data, not stored in the file */ - struct CurveCache *curve_cache; } Object; /* Warning, this is not used anymore because hooks are now modifiers */ |