diff options
author | Hans Goudey <h.goudey@me.com> | 2022-07-22 18:49:09 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-07-22 18:49:09 +0300 |
commit | 98395e0bdfc849e2d2770052c6e8651a42500608 (patch) | |
tree | 7d5a6fe49a04398f5ffd3f6656675305e7112205 /source/blender/io/alembic | |
parent | c40971d79a887820d621705b29f65f833d9b9f52 (diff) |
Cleanup: Use r_ prefix for boolean return parameters
Also rearrange some lines to simplify logic.
Diffstat (limited to 'source/blender/io/alembic')
-rw-r--r-- | source/blender/io/alembic/intern/abc_reader_object.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/io/alembic/intern/abc_reader_object.cc b/source/blender/io/alembic/intern/abc_reader_object.cc index a698eeca8f1..db056c0eef6 100644 --- a/source/blender/io/alembic/intern/abc_reader_object.cc +++ b/source/blender/io/alembic/intern/abc_reader_object.cc @@ -218,12 +218,12 @@ Alembic::AbcGeom::IXform AbcObjectReader::xform() void AbcObjectReader::read_matrix(float r_mat[4][4] /* local matrix */, const chrono_t time, const float scale, - bool &is_constant) + bool &r_is_constant) { IXform ixform = xform(); if (!ixform) { unit_m4(r_mat); - is_constant = true; + r_is_constant = true; return; } @@ -254,7 +254,7 @@ void AbcObjectReader::read_matrix(float r_mat[4][4] /* local matrix */, mul_m4_m4m4(r_mat, scale_mat, r_mat); } - is_constant = schema.isConstant(); + r_is_constant = schema.isConstant(); } void AbcObjectReader::addCacheModifier() |