diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 17:40:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 17:40:47 +0300 |
commit | dbc058301bf516a53b92b9c45b5c4f3ecc33ecf4 (patch) | |
tree | d93fb65825e40300f68707ae75718773bc73678f /source/blender/collada | |
parent | d217b23f735cb9232d86c7730ed0a0aa45e3074e (diff) |
Cleanup: trailing commas
Diffstat (limited to 'source/blender/collada')
-rw-r--r-- | source/blender/collada/AnimationExporter.h | 2 | ||||
-rw-r--r-- | source/blender/collada/BCAnimationCurve.h | 2 | ||||
-rw-r--r-- | source/blender/collada/ExportSettings.h | 8 | ||||
-rw-r--r-- | source/blender/collada/ImageExporter.cpp | 1 | ||||
-rw-r--r-- | source/blender/collada/MeshImporter.cpp | 4 |
5 files changed, 10 insertions, 7 deletions
diff --git a/source/blender/collada/AnimationExporter.h b/source/blender/collada/AnimationExporter.h index 7af4777331d..fa0640c73e8 100644 --- a/source/blender/collada/AnimationExporter.h +++ b/source/blender/collada/AnimationExporter.h @@ -84,7 +84,7 @@ struct Depsgraph; typedef enum BC_animation_source_type { BC_SOURCE_TYPE_VALUE, BC_SOURCE_TYPE_ANGLE, - BC_SOURCE_TYPE_TIMEFRAME + BC_SOURCE_TYPE_TIMEFRAME, } BC_animation_source_type; class AnimationExporter: COLLADASW::LibraryAnimations diff --git a/source/blender/collada/BCAnimationCurve.h b/source/blender/collada/BCAnimationCurve.h index 234fecd6833..c01b3150dba 100644 --- a/source/blender/collada/BCAnimationCurve.h +++ b/source/blender/collada/BCAnimationCurve.h @@ -47,7 +47,7 @@ typedef enum BC_animation_type { BC_ANIMATION_TYPE_BONE, BC_ANIMATION_TYPE_CAMERA, BC_ANIMATION_TYPE_MATERIAL, - BC_ANIMATION_TYPE_LIGHT + BC_ANIMATION_TYPE_LIGHT, } BC_animation_type; class BCCurveKey { diff --git a/source/blender/collada/ExportSettings.h b/source/blender/collada/ExportSettings.h index d0a7a76f6aa..43dccef658b 100644 --- a/source/blender/collada/ExportSettings.h +++ b/source/blender/collada/ExportSettings.h @@ -29,18 +29,18 @@ extern "C" { typedef enum BC_export_mesh_type { BC_MESH_TYPE_VIEW, - BC_MESH_TYPE_RENDER + BC_MESH_TYPE_RENDER, } BC_export_mesh_type; typedef enum BC_export_transformation_type { BC_TRANSFORMATION_TYPE_MATRIX, - BC_TRANSFORMATION_TYPE_TRANSROTLOC + BC_TRANSFORMATION_TYPE_TRANSROTLOC, } BC_export_transformation_type; typedef enum BC_export_animation_type { BC_ANIMATION_EXPORT_SAMPLES, - BC_ANIMATION_EXPORT_KEYS + BC_ANIMATION_EXPORT_KEYS, } BC_export_animation_type; typedef enum BC_ui_export_section { @@ -48,7 +48,7 @@ typedef enum BC_ui_export_section { BC_UI_SECTION_GEOMETRY, BC_UI_SECTION_ARMATURE, BC_UI_SECTION_ANIMATION, - BC_UI_SECTION_COLLADA + BC_UI_SECTION_COLLADA, } BC_ui_export_section; typedef struct ExportSettings { diff --git a/source/blender/collada/ImageExporter.cpp b/source/blender/collada/ImageExporter.cpp index b4814abf513..a36abc6165d 100644 --- a/source/blender/collada/ImageExporter.cpp +++ b/source/blender/collada/ImageExporter.cpp @@ -49,6 +49,7 @@ ImagesExporter::ImagesExporter(COLLADASW::StreamWriter *sw, const ExportSettings export_settings(export_settings), key_image_map(key_image_map) { + /* pass */ } void ImagesExporter::export_UV_Image(Image *image, bool use_copies) diff --git a/source/blender/collada/MeshImporter.cpp b/source/blender/collada/MeshImporter.cpp index 6f87b6613b7..07cf7448a75 100644 --- a/source/blender/collada/MeshImporter.cpp +++ b/source/blender/collada/MeshImporter.cpp @@ -205,7 +205,9 @@ MeshImporter::MeshImporter(UnitConverter *unitconv, ArmatureImporter *arm, Main m_bmain(bmain), scene(sce), view_layer(view_layer), - armature_importer(arm) { + armature_importer(arm) +{ + /* pass */ } bool MeshImporter::set_poly_indices(MPoly *mpoly, MLoop *mloop, int loop_index, unsigned int *indices, int loop_count) |