diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-29 15:04:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-29 15:06:26 +0300 |
commit | bbbf1664309b6c30581ea6db035620c4abfe8e46 (patch) | |
tree | 26fa18852717d8a23a1314682d6025634d783e10 | |
parent | ee192a35e8a0122e39c3d4d12eb62a2e26344ca7 (diff) |
Cleanup: comments (long lines) in alembic
-rw-r--r-- | source/blender/alembic/intern/abc_exporter.cc | 3 | ||||
-rw-r--r-- | source/blender/alembic/intern/abc_exporter.h | 4 | ||||
-rw-r--r-- | source/blender/alembic/intern/abc_util.cc | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/alembic/intern/abc_exporter.cc b/source/blender/alembic/intern/abc_exporter.cc index 4a7f26d2e18..e39b5686c82 100644 --- a/source/blender/alembic/intern/abc_exporter.cc +++ b/source/blender/alembic/intern/abc_exporter.cc @@ -158,7 +158,8 @@ static bool export_object(const ExportSettings *const settings, if (settings->selected_only && !BASE_SELECTED(v3d, base)) { return false; } - // FIXME Sybren: handle these cleanly (maybe just remove code), now using active scene layer instead. + // FIXME Sybren: handle these cleanly (maybe just remove code), + // now using active scene layer instead. if (settings->visible_layers_only && !BASE_VISIBLE(v3d, base)) { return false; } diff --git a/source/blender/alembic/intern/abc_exporter.h b/source/blender/alembic/intern/abc_exporter.h index 6ed6a97f935..e6a7a3fc7f4 100644 --- a/source/blender/alembic/intern/abc_exporter.h +++ b/source/blender/alembic/intern/abc_exporter.h @@ -43,8 +43,8 @@ struct ExportSettings { ExportSettings(); Scene *scene; - ViewLayer * - view_layer; // Scene layer to export; all its objects will be exported, unless selected_only=true + /** Scene layer to export; all its objects will be exported, unless selected_only=true. */ + ViewLayer *view_layer; Depsgraph *depsgraph; SimpleLogger logger; diff --git a/source/blender/alembic/intern/abc_util.cc b/source/blender/alembic/intern/abc_util.cc index ed3ee051a44..2fc340f73ce 100644 --- a/source/blender/alembic/intern/abc_util.cc +++ b/source/blender/alembic/intern/abc_util.cc @@ -160,7 +160,8 @@ void create_swapped_rotation_matrix(float rot_x_mat[3][3], rot_z_mat[1][1] = cos(rz); } -/* Convert matrix from Z=up to Y=up or vice versa. Use yup_mat = zup_mat for in-place conversion. */ +/* Convert matrix from Z=up to Y=up or vice versa. + * Use yup_mat = zup_mat for in-place conversion. */ void copy_m44_axis_swap(float dst_mat[4][4], float src_mat[4][4], AbcAxisSwapMode mode) { float dst_rot[3][3], src_rot[3][3], dst_scale_mat[4][4]; |