diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/makesdna/DNA_cachefile_types.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/makesdna/DNA_cachefile_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_cachefile_types.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/source/blender/makesdna/DNA_cachefile_types.h b/source/blender/makesdna/DNA_cachefile_types.h index e226519bba0..e5f77f70720 100644 --- a/source/blender/makesdna/DNA_cachefile_types.h +++ b/source/blender/makesdna/DNA_cachefile_types.h @@ -32,56 +32,56 @@ extern "C" { /* CacheFile::flag */ enum { - CACHEFILE_DS_EXPAND = (1 << 0), - CACHEFILE_DIRTY = (1 << 1), + CACHEFILE_DS_EXPAND = (1 << 0), + CACHEFILE_DIRTY = (1 << 1), }; /* CacheFile::draw_flag */ enum { - CACHEFILE_KEYFRAME_DRAWN = (1 << 0), + CACHEFILE_KEYFRAME_DRAWN = (1 << 0), }; /* Representation of an object's path inside the Alembic file. * Note that this is not a file path. */ typedef struct AlembicObjectPath { - struct AlembicObjectPath *next, *prev; + struct AlembicObjectPath *next, *prev; - char path[4096]; + char path[4096]; } AlembicObjectPath; typedef struct CacheFile { - ID id; - struct AnimData *adt; + ID id; + struct AnimData *adt; - struct AbcArchiveHandle *handle; - void *handle_mutex; + struct AbcArchiveHandle *handle; + void *handle_mutex; - /** Paths of the objects inside of the Alembic archive referenced by this CacheFile. */ - ListBase object_paths; + /** Paths of the objects inside of the Alembic archive referenced by this CacheFile. */ + ListBase object_paths; - /** 1024 = FILE_MAX. */ - char filepath[1024]; + /** 1024 = FILE_MAX. */ + char filepath[1024]; - char is_sequence; - char forward_axis; - char up_axis; - char override_frame; + char is_sequence; + char forward_axis; + char up_axis; + char override_frame; - float scale; - /** The frame/time to lookup in the cache file. */ - float frame; - /** The frame offset to subtract. */ - float frame_offset; + float scale; + /** The frame/time to lookup in the cache file. */ + float frame; + /** The frame offset to subtract. */ + float frame_offset; - /** Animation flag. */ - short flag; - short draw_flag; + /** Animation flag. */ + short flag; + short draw_flag; - char _pad[4]; + char _pad[4]; } CacheFile; #ifdef __cplusplus } #endif -#endif /* __DNA_CACHEFILE_TYPES_H__ */ +#endif /* __DNA_CACHEFILE_TYPES_H__ */ |