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>2021-06-23 04:44:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-23 04:44:02 +0300
commit58e58310b79861ff53c46a8717b85b5b04c37fe5 (patch)
tree07b72270eb9c27f95ea9a432e6355efbcaf4be5f /source/blender/editors/transform
parenta8f37763ca554a122c1441eae7a43f01bc2f5ddc (diff)
Cleanup: compiler warning for invalid argument type
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_mode_translate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_mode_translate.c b/source/blender/editors/transform/transform_mode_translate.c
index ecb31073f3f..0e734b3b74b 100644
--- a/source/blender/editors/transform/transform_mode_translate.c
+++ b/source/blender/editors/transform/transform_mode_translate.c
@@ -72,7 +72,6 @@ static void headerTranslation(TransInfo *t, const float vec[3], char str[UI_MAX_
size_t ofs = 0;
char dvec_str[3][NUM_STR_REP_LEN];
char dist_str[NUM_STR_REP_LEN];
- char autoik_str[NUM_STR_REP_LEN];
float dist;
UnitSettings *unit = NULL;
@@ -81,7 +80,7 @@ static void headerTranslation(TransInfo *t, const float vec[3], char str[UI_MAX_
}
if (hasNumInput(&t->num)) {
- outputNumInput(&(t->num), dvec_str, &t->scene->unit);
+ outputNumInput(&(t->num), dvec_str[0], &t->scene->unit);
dist = len_v3(t->num.val);
}
else {