diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-16 03:58:22 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-16 03:58:22 +0300 |
commit | be7855591e3b47e5e72c09555946f75975a8c028 (patch) | |
tree | eb11ff27360e2285cddfe24609bc293b103e9ac0 /intern/itasc | |
parent | 379bd6d50ce37e07cbc4fb1e1c47c814f6a7530e (diff) |
Cleanup: rename cnt to count
Follow naming from T85728.
Diffstat (limited to 'intern/itasc')
-rw-r--r-- | intern/itasc/Scene.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/itasc/Scene.cpp b/intern/itasc/Scene.cpp index b5f8e4df386..7bbfc3a87f2 100644 --- a/intern/itasc/Scene.cpp +++ b/intern/itasc/Scene.cpp @@ -270,7 +270,7 @@ bool Scene::initialize() m_ytask.resize(m_ncTotal); bool toggle = true; - int cnt = 0; + int count = 0; // Initialize all ConstraintSets: for (ConstraintMap::iterator it = constraints.begin(); it != constraints.end(); ++it) { // Calculate the external pose: @@ -279,8 +279,8 @@ bool Scene::initialize() getConstraintPose(cs->task, cs, external_pose); result &= cs->task->initialise(external_pose); cs->task->initCache(m_cache); - for (int i = 0; i < cs->constraintrange.count; i++, cnt++) { - m_ytask[cnt] = toggle; + for (int i = 0; i < cs->constraintrange.count; i++, count++) { + m_ytask[count] = toggle; } toggle = !toggle; project(m_Cf, cs->constraintrange, cs->featurerange) = cs->task->getCf(); |