Cleanup: comments (long lines) in alembic

This commit is contained in:
Campbell Barton 2019-04-29 22:04:55 +10:00
parent ee192a35e8
commit bbbf166430
3 changed files with 6 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;

View File

@ -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];