Cleanup: comments (long lines) in alembic
This commit is contained in:
parent
ee192a35e8
commit
bbbf166430
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue