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:
authorCampbell Barton <ideasman42@gmail.com>2020-09-15 03:23:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-09-15 03:23:41 +0300
commita8fd3df9051f6e57d552e0b77bbcad6685a2fb9a (patch)
tree14769819bdab32cdfd52ce97d445f86f9e99bf18 /source/blender/editors/transform
parentb827d1c530821e7679a948f41411753dc2dc52f2 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_convert_mesh.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/source/blender/editors/transform/transform_convert_mesh.c b/source/blender/editors/transform/transform_convert_mesh.c
index 06ab60d992c..e7a4966bd6f 100644
--- a/source/blender/editors/transform/transform_convert_mesh.c
+++ b/source/blender/editors/transform/transform_convert_mesh.c
@@ -1565,9 +1565,9 @@ static void transform_apply_to_mirror(TransInfo *t)
void recalcData_mesh(TransInfo *t)
{
- bool is_cancelling = t->state == TRANS_CANCEL;
+ bool is_canceling = t->state == TRANS_CANCEL;
/* mirror modifier clipping? */
- if (!is_cancelling) {
+ if (!is_canceling) {
/* apply clipping after so we never project past the clip plane [#25423] */
applyProject(t);
clipMirrorModifier(t);
@@ -1597,13 +1597,12 @@ void recalcData_mesh(TransInfo *t)
void special_aftertrans_update__mesh(bContext *UNUSED(C), TransInfo *t)
{
- const bool is_cancelling = (t->state == TRANS_CANCEL);
- const bool use_automerge = !is_cancelling && (t->flag & (T_AUTOMERGE | T_AUTOSPLIT)) != 0;
+ const bool is_canceling = (t->state == TRANS_CANCEL);
+ const bool use_automerge = !is_canceling && (t->flag & (T_AUTOMERGE | T_AUTOSPLIT)) != 0;
- if (!is_cancelling && ELEM(t->mode, TFM_EDGE_SLIDE, TFM_VERT_SLIDE)) {
- /* Handle multires re-projection, done
- * on transform completion since it's
- * really slow -joeedh. */
+ if (!is_canceling && ELEM(t->mode, TFM_EDGE_SLIDE, TFM_VERT_SLIDE)) {
+ /* NOTE(joeedh): Handle multi-res re-projection,
+ * done on transform completion since it's really slow. */
mesh_customdatacorrect_apply(t, true);
}