diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-02 08:39:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-02 08:39:29 +0300 |
commit | eae486f5e6c79b7b31e276dfaea69d2ece7fbf7f (patch) | |
tree | dd8220e52333289fa538925a95367ae47a793e3d /source/blender/editors/transform/transform.c | |
parent | cb23927c9b24d5b17e35c8682060cd6839337a12 (diff) | |
parent | 0d8bf4bf947d84cdfc6e2b221ddb03c7f8d2114b (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 83f281e1e88..03dd2a5aef5 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -4307,7 +4307,7 @@ static void headerTranslation(TransInfo *t, const float vec[3], char str[UI_MAX_ bUnit_AsString(distvec, sizeof(distvec), dist * t->scene->unit.scale_length, 4, t->scene->unit.system, B_UNIT_LENGTH, do_split, false); } - else if (dist > 1e10f || dist < -1e10f) { + else if (dist > 1e10f || dist < -1e10f) { /* prevent string buffer overflow */ BLI_snprintf(distvec, NUM_STR_REP_LEN, "%.4e", dist); } |