diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-29 02:04:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-29 02:04:39 +0300 |
commit | 363cf1152fcbbe5fcd1a0b07833c1cf0370dba74 (patch) | |
tree | c7eaa3e24c2c757673bf0cadb1cd46452b0db1be /source/blender/alembic | |
parent | 3f4e3f718fdc1163cc52a84d85978fa94b230211 (diff) |
Cleanup: use bool, style
Diffstat (limited to 'source/blender/alembic')
-rw-r--r-- | source/blender/alembic/intern/abc_curves.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/alembic/intern/abc_curves.cc b/source/blender/alembic/intern/abc_curves.cc index fa5e2214836..9501c643e32 100644 --- a/source/blender/alembic/intern/abc_curves.cc +++ b/source/blender/alembic/intern/abc_curves.cc @@ -448,7 +448,7 @@ Mesh *AbcCurveReader::read_mesh(Mesh *existing_mesh, if (same_topology) { Nurb *nurbs = static_cast<Nurb *>(curve->nurb.first); - for (curve_idx=0; nurbs; nurbs = nurbs->next, ++curve_idx) { + for (curve_idx = 0; nurbs; nurbs = nurbs->next, ++curve_idx) { const int num_in_alembic = (*num_vertices)[curve_idx]; const int num_in_blender = nurbs->pntsu; @@ -465,7 +465,7 @@ Mesh *AbcCurveReader::read_mesh(Mesh *existing_mesh, } else { Nurb *nurbs = static_cast<Nurb *>(curve->nurb.first); - for (curve_idx=0; nurbs; nurbs = nurbs->next, ++curve_idx) { + for (curve_idx = 0; nurbs; nurbs = nurbs->next, ++curve_idx) { const int totpoint = (*num_vertices)[curve_idx]; if (nurbs->bp) { |