Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2019-07-04 12:51:13 +0300
committerSybren A. Stüvel <sybren@blender.org>2019-07-30 17:59:10 +0300
commitd65a4b5990c28365e89ac0495a31cac4e042704f (patch)
tree70af9d7e81514931e29e61a44605717e0c196991 /source/blender/alembic
parent7f552be7d1bd4076263521c76c2aa3cab9b383c1 (diff)
Alembic: use `r_` prefix for return variables
No functional changes.
Diffstat (limited to 'source/blender/alembic')
-rw-r--r--source/blender/alembic/intern/abc_mesh.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/alembic/intern/abc_mesh.cc b/source/blender/alembic/intern/abc_mesh.cc
index b5d5057a8d1..39d9f9d768e 100644
--- a/source/blender/alembic/intern/abc_mesh.cc
+++ b/source/blender/alembic/intern/abc_mesh.cc
@@ -122,7 +122,7 @@ static void get_vertices(struct Mesh *mesh, std::vector<Imath::V3f> &points)
static void get_topology(struct Mesh *mesh,
std::vector<int32_t> &poly_verts,
std::vector<int32_t> &loop_counts,
- bool &smooth_normal)
+ bool &r_smooth_normal)
{
const int num_poly = mesh->totpoly;
const int num_loops = mesh->totloop;
@@ -139,7 +139,7 @@ static void get_topology(struct Mesh *mesh,
MPoly &poly = mpoly[i];
loop_counts.push_back(poly.totloop);
- smooth_normal |= ((poly.flag & ME_SMOOTH) != 0);
+ r_smooth_normal |= ((poly.flag & ME_SMOOTH) != 0);
MLoop *loop = mloop + poly.loopstart + (poly.totloop - 1);
@@ -995,7 +995,7 @@ static void read_mesh_sample(const std::string &iobject_full_name,
const IPolyMeshSchema &schema,
const ISampleSelector &selector,
CDStreamConfig &config,
- bool &do_normals)
+ bool &r_do_normals)
{
const IPolyMeshSchema::Sample sample = schema.getValue(selector);
@@ -1006,7 +1006,7 @@ static void read_mesh_sample(const std::string &iobject_full_name,
read_normals_params(abc_mesh_data, schema.getNormalsParam(), selector);
- do_normals = (abc_mesh_data.face_normals != NULL);
+ r_do_normals = (abc_mesh_data.face_normals != NULL);
get_weight_and_index(config, schema.getTimeSampling(), schema.getNumSamples());