[Bf-blender-cvs] [bbbf1664309] master: Cleanup: comments (long lines) in alembic
Campbell Barton
noreply at git.blender.org
Mon Apr 29 14:08:40 CEST 2019
Commit: bbbf1664309b6c30581ea6db035620c4abfe8e46
Author: Campbell Barton
Date: Mon Apr 29 22:04:55 2019 +1000
Branches: master
https://developer.blender.org/rBbbbf1664309b6c30581ea6db035620c4abfe8e46
Cleanup: comments (long lines) in alembic
===================================================================
M source/blender/alembic/intern/abc_exporter.cc
M source/blender/alembic/intern/abc_exporter.h
M source/blender/alembic/intern/abc_util.cc
===================================================================
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];
More information about the Bf-blender-cvs
mailing list